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 21:55] – mithat | python:features [2016/07/13 22:05] – mithat | ||
---|---|---|---|
Line 4: | Line 4: | ||
<code python> | <code python> | ||
- | if foo == bar: # header | + | if foo == bar: # header |
- | print(' | + | print(' |
- | else: # header | + | else: # header |
- | print(' | + | print(' |
+ | </ | ||
+ | |||
+ | if, else, ifelse: | ||
+ | |||
+ | <code python) | ||
+ | if credits == 90: | ||
+ | print(' | ||
+ | else | ||
+ | if credits == 60: | ||
+ | print(' | ||
+ | else: | ||
+ | print(' | ||
+ | </ | ||
+ | |||
+ | <code python) | ||
+ | if credits == 90: | ||
+ | print(' | ||
+ | elif credits == 60: | ||
+ | print(' | ||
+ | else: | ||
+ | print(' | ||
</ | </ |
python/features.txt · Last modified: 2017/12/06 01:54 by mithat