Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 2: Introduction to Python!
Instruction
Some General Rules on Python Syntax
- Comments are marked by #.
- A statement is terminated by the end of a line or by a semicolon (;).
- Indentation specifies blocks of code within particular structures. Whitespace at the beginning of lines matters. Typically you want to have 2 or 4 spaces to specify indentation, not a tab (
\t
). This can be set up in your IDE.
- Whitespace within lines does not matter, so you can use ...