A Crash Cource in Python¶The Basics¶Whitespace Formatting¶Many languages use curly braces to delimit blocks of code. Python uses indentation:In [1]: for i in [1, 2, 3, 4, 5]: print(i) for j in [1, 2, 3, 4, 5]: print(j) print(i + j) print(i)print("done looping") 1122334455612132435465723142536475834152637485945162738495105done loopingWhitespace is ignored in..
Crash Cource in Python
A Crash Cource in Python¶The Basics¶Whitespace Formatting¶Many languages use curly braces to delimit blocks of code. Python uses indentation:In [1]: for i in [1, 2, 3, 4, 5]: print(i) for j in [1, 2, 3, 4, 5]: print(j) print(i + j) print(i)print("done looping") 1122334455612132435465723142536475834152637485945162738495105done loopingWhitespace is ignored in..
2024.11.03