comment in python
# This is a one line comment
"""
This is a comment for multiple lines,
as you can see
"""
""" But also this is valid """
comment in python
# This is a one line comment
"""
This is a comment for multiple lines,
as you can see
"""
""" But also this is valid """
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
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!
'''
how to make a comment in py
A comment in python can be made using the "#" symbol.
python comments
# This is a single lined comment for Python,
# and can be used at the end of a line of code
"""
For multi-line comments,
use three hashtags! can not go in the end of a line of code.
""" # make sure to close your 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