Teil 6 "Objekte ist neu
Repository aufgeräumt.
This commit is contained in:
8
teil5/lists/sort.py
Normal file
8
teil5/lists/sort.py
Normal file
@@ -0,0 +1,8 @@
|
||||
zahlen1 = ['0','1','4','3','2','5']
|
||||
zahlen2 = ['8','7','9','6']
|
||||
|
||||
zahlen1.extend(zahlen2)
|
||||
|
||||
print(f'unsortiert:{zahlen1}')
|
||||
zahlen1.sort()
|
||||
print(f'sortiert:{zahlen1}')
|
Reference in New Issue
Block a user