Teil 6 "Objekte ist neu
Repository aufgeräumt.
This commit is contained in:
7
teil4/split.py
Normal file
7
teil4/split.py
Normal file
@@ -0,0 +1,7 @@
|
||||
s = 'Dies ist ein ganzer Satz.'
|
||||
|
||||
print(f'zerlegt= {s.split()}')
|
||||
|
||||
werte = '1,2,3,4,5,6,7,8,9'
|
||||
|
||||
print(f'werteliste = {werte.split(",")}')
|
Reference in New Issue
Block a user