ezoic

Friday, November 18, 2016

Some suggestions that help you to write high quality python code

Some suggestions that help you to write high quality python code :

1. Using Assert
2. Using try  Exception, e
3. When swap two variables, try not to use intermediate variable.
Try this:
x,y=y,x

No comments:

Post a Comment

R is not a simple programming language, and it does better on reading excel files than python

R is not a simple programming language, and it does better on reading excel files than python . tried to read excel files to python and R. i...