How would you declare a comment in python?



How would you declare a comment in python?..

Answer / Sameer Rai

In Python, comments are created using the hash symbol (#): any text following the # on that line will be ignored by the interpreter.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

How do I convert time to seconds in python?

1 Answers  


Which server is used for python?

1 Answers  


What is abs in python?

1 Answers  


What is the process to get the home directory using ‘~' in python?

0 Answers  


What is static in python?

1 Answers  


Mention what is the difference between Django, Pyramid, and Flask.

1 Answers  


Write a one-liner that will count the number of capital letters in a file. Your code should work even if the file is too big to fit in memory.

1 Answers  


Is python a pop or oop?

1 Answers  


What are supporting python packages for data science operations?

1 Answers  


What if you want to toggle case for a python string?

1 Answers  


What is __ file __ in python?

1 Answers  


What is difference between panda series and dictionary in python?

1 Answers  


Categories