Intellipaat 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

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...