Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lehrkraefte:blc:informatik:glf20:programmieren:selektion [2020/10/22 09:06] Ivo Blöchliger |
lehrkraefte:blc:informatik:glf20:programmieren:selektion [2020/10/23 11:35] Ivo Blöchliger |
||
---|---|---|---|
Line 40: | Line 40: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | Mit '' | ||
+ | <code python> | ||
+ | a = 4 | ||
+ | if a<3: | ||
+ | print(" | ||
+ | else: | ||
+ | print(" | ||
+ | </ | ||
+ | Es ist auch möglich, mit '' | ||
+ | <code python> | ||
+ | name = " | ||
+ | if name==" | ||
+ | print(" | ||
+ | elif name==" | ||
+ | print(" | ||
+ | else: | ||
+ | print(" | ||
+ | </ | ||
+ | </ | ||
+ | |||
<WRAP todo> | <WRAP todo> | ||
Line 49: | Line 71: | ||
</ | </ | ||
</ | </ | ||
+ | |||
<WRAP todo> | <WRAP todo> |