Teil 2 Beispiele.

This commit is contained in:
2023-02-17 09:36:09 +01:00
commit 2d9a26f05c
8 changed files with 88 additions and 0 deletions

10
teil2/elif.py Normal file
View File

@@ -0,0 +1,10 @@
# coding=utf-8
zahl = 99
if zahl == 100:
print ('Zahl ist einhundert.')
elif zahl > 100:
print('Zahl ist grösser als einhundert.')
else:
print('Zahl ist kleiner als einhundert.')