Python does not have multiline comments. But you can use alternatives like docstrings, editor shortcuts, and conventional commenting methods, depending on your requirements.
Article at https://pym.dev/multiline-comments/
More #Python screencasts at https://pym.dev/screencasts/
00:00 Does Python have multi-line comments?
00:24 What about triple quotes?
01:05 Docstrings versus comments
01:55 What if I want to comment-out a whole block of code?
02:29 How to comment multiple lines
02:59 Use docstrings, your code editor, or version control
Watch video Multiline comments in Python online without registration, duration hours minute second in high quality. This video was added by user Python Morsels 19 April 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 66 once and liked it 2 people.