python:features
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
python:features [2016/07/13 22:05] – mithat | python:features [2016/07/13 22:07] – mithat | ||
---|---|---|---|
Line 12: | Line 12: | ||
if, else, ifelse: | if, else, ifelse: | ||
- | <code python) | + | <code python> |
if credits == 90: | if credits == 90: | ||
print(' | print(' | ||
else | else | ||
- | if credits == 60: | + | |
- | print(' | + | print(' |
- | else: | + | else: |
- | print(' | + | if credits >= 40: |
+ | print(' | ||
+ | else: | ||
+ | | ||
</ | </ | ||
- | <code python) | + | <code python> |
- | if credits | + | if credits |
print(' | print(' | ||
- | elif credits | + | elif credits |
print(' | print(' | ||
+ | elif credits >= 40: | ||
+ | print(' | ||
else: | else: | ||
- | print(' | + | print(' |
</ | </ |
python/features.txt · Last modified: 2017/12/06 01:54 by mithat