Difference between revisions of "Python"
Jump to navigation
Jump to search
(Created page with "== Indentation == Python is an indented language, so the code indentation matters. A good practice is to indent with 4 spaces (if you mix spaces and tabs the code won't work.") |
Rafahsolis (talk | contribs) |
||
| Line 1: | Line 1: | ||
== Indentation == | == Indentation == | ||
Python is an indented language, so the code indentation matters. A good practice is to indent with 4 spaces (if you mix spaces and tabs the code won't work. | Python is an indented language, so the code indentation matters. A good practice is to indent with 4 spaces (if you mix spaces and tabs the code won't work. | ||
| + | == Operators == | ||
| + | === Arithmetic === | ||
| + | <nowiki>+ Addition | ||
| + | - Substraction | ||
| + | * Multiplication | ||
| + | / Division | ||
| + | ** Power | ||
| + | % Reminder | ||
| + | </nowiki> | ||
Revision as of 08:16, 5 April 2015
Indentation
Python is an indented language, so the code indentation matters. A good practice is to indent with 4 spaces (if you mix spaces and tabs the code won't work.
Operators
Arithmetic
+ Addition - Substraction * Multiplication / Division ** Power % Reminder