python:features
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
python:features [2016/07/13 22:07] – mithat | python:features [2016/07/13 22:10] – [Selection] mithat | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Some Python features ====== | ====== Some Python features ====== | ||
- | Header, suite/ | + | ===== Header, suite/ |
<code python> | <code python> | ||
Line 10: | Line 11: | ||
</ | </ | ||
- | if, else, ifelse: | + | ===== Selection ===== |
+ | ==== if, if/else ==== | ||
+ | |||
+ | <code python> | ||
+ | if condition: | ||
+ | suite | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | if condition: | ||
+ | suite | ||
+ | else: | ||
+ | suite | ||
+ | </ | ||
+ | |||
+ | === nested if/else === | ||
<code python> | <code python> |
python/features.txt · Last modified: 2017/12/06 01:54 by mithat