python note multiple lines code example
Example 1: multiline comment python
# Python doesn't support multi-line comment blocks out of the box.
# The recommended way to comment out multiple lines of code in Python is
# to use consecutive single-line comments.
# feelsbadman
Example 2: python multiline comment
def increase_salary(sal,rating,percentage):
""" increase salary base on rating and percentage
rating 1 - 2 no increase
rating 3 - 4 increase 5%
rating 4 - 6 increase 10%
"""
Example 3: big comments python
# One line Comment
myvar = 5 # Can also start after any chunk of code
"""
Big multiple lines comment
So many lines
WoW
"""