Teil 9: Typkonvertierung.
This commit is contained in:
9
teil9/int.py
Normal file
9
teil9/int.py
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
eingabe = input('Dein Alter (Jahre): ')
|
||||
|
||||
alter = int(eingabe)
|
||||
|
||||
|
||||
print(f'Du bist {alter} Jahre alt.')
|
||||
|
Reference in New Issue
Block a user