how can you give multiline comments in a python programme?name them
Answers
Answered by
1
Please mark in BRAINLY
Unlike other programming languages Python doesn't support multilinear comment blocks out of the box.
Answered by
1
Answer:
- Actually, Python doesn't support multi-line comments unlike other language.
- Python supports single line comments only.
- So, to give multi-line comments, we can simply write # at the starting of each line and then we can write the necessary comments.
- Texts written after # will be considered as comments only.
Example,
# Hii.
# This is a comment.
# Python is cool!
# This is another comment.
Similar questions