Monday, February 18, 2019

py0011 : Learnt Something impressive in Python

Code writing techniques

Today i tried to write some code in python like i used for , if , else, try, catch, return. By using this came to know python has some limitation, no we cant say limitation its syntax.


  • For "if" we can not keep the code below on same starting column point, you have to give "tab" space in front of them for any hierarchy .
  • write "return" like this, def t() return 1 or def t() return "true"

No comments:

Post a Comment

web stats