comments in python
#this is commented
'''
this
is
also
a
comment
'''
comments in python
#this is commented
'''
this
is
also
a
comment
'''
python comments
# this is a single line comment, python ignores these
foo = "bar" # can be placed after code
"""
python doesnt have multiline comments
so multiline strings do the tricks
this works because python ignores string literals that arentassigned to a varaible
"""
# comments can be used as notes for the dude editing the script
python comments
# Numpy-style python comments for functions
def foo(param_1=True):
"""Example function.
Parameters
----------
param_1 : bool, optional
The first parameter (default is True)
Returns
-------
num
a number
"""
return -1
python comment
# Single line Comment
"""
(''' single quotes ''') will also work
Multi Line
Comment
"""
comment in python
# To make a comment in python use the hashtag symbol
how to comment python
# This is a comment
'''
This is a
MULTI LINE comment!
'''
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us