Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in Python by (16.4k points)

In python, Is there any method of ending single-line comments? 

Like this,

/* This is my comment */ some more code here...

1 Answer

0 votes
by (26.4k points)

In python, there are no inline comments

Refer to this Documentation

Want to learn more about Python, Come & Join: Python course

For more details, refer to this video tutorial:

Related questions

+1 vote
1 answer
0 votes
1 answer
0 votes
2 answers
0 votes
1 answer

Browse Categories

...