MyPC-Cabinet
Tutorials,Tips & Tricks,All about your PC.
Tuesday, November 18, 2014
Indentation
Indentation in Python
By default python uses 4 spaces per indentation level
Example:>>>def A1( ):
____x=10
____for i in range(1,10,1)
________print i
Spacing and maximum length of a line is 79.
Do not mix Tabs and spaces.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment