I am using Python 2.7 and wrote the following:
def arithmetic(A): x=1"""Some comments here""" if x=1: x=1 elif x=2: x=2 return 0
But it has the indentation issue:
if x=1: ^IndentationError: unexpected indent
So how to write comments in the function?
I am using Python 2.7 and wrote the following:
def arithmetic(A): x=1"""Some comments here""" if x=1: x=1 elif x=2: x=2 return 0
But it has the indentation issue:
if x=1: ^IndentationError: unexpected indent
So how to write comments in the function?