Alle Dateien aus dem Pythonkurs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
236 B

name = 'Bart'
if name == 'Marge':
print('Mutter')
elif name == 'Homer':
print('Vater')
elif name =='Bart' :
print('Sohn')
elif name == 'Lisa':
print('Tochter')
elif name == 'Maggie':
print('Baby')
else:
print('unbekannt')