What does the ‘#’ symbol do in Python?

Answers were Sorted based on User's Feedback



What does the ‘#’ symbol do in Python?..

Answer / nashiinformaticssolutions

‘#’ is used to comment on everything that comes after on the line

Is This Answer Correct ?    0 Yes 0 No

What does the ‘#’ symbol do in Python?..

Answer / nashiinformaticssolutions

The `#` symbol is used to add comments in Python. Comments are not executed and are intended to explain the code for the benefit of developers.
Example:
python
# This is a comment

Is This Answer Correct ?    0 Yes 0 No

What does the ‘#’ symbol do in Python?..

Answer / glibwaresoftsolutions

The `#` symbol is used to add comments in Python. Comments are not executed and are intended to explain the code for the benefit of developers.
Example:
python
# This is a comment

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

How does pop function works in set data types?

0 Answers  


How can we make forms in python?

0 Answers  


What is os module will do in python?

0 Answers  


What is wrong with the code?

0 Answers  


What is the language from which Python has got its features or derived its features?

0 Answers  






What is lambda function ?

0 Answers  


What is the difference between python and shell scripting?

0 Answers  


What is pip?

2 Answers  


What is a from import statement and write the syntax for it?

0 Answers  


How does global value mutation used for thread-safety?

1 Answers  


Give an example to capital first letter of a string?

0 Answers  


What are the tools that help to find bugs or perform static analysis?

0 Answers  


Categories