Berufsschule/S1/LF5/2022-02-07_Musterklausur/Aufgabe1.py

15 lines
144 B
Python
Executable File

#!/usr/bin/env python3
l = []
while True:
try:
i = int(input("Eine Zahl: "))
except:
break
l.append(i)
s = sorted(l)
print(s)