Teil 9: Typkonvertierung.
This commit is contained in:
10
teil9/str.py
Normal file
10
teil9/str.py
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
wert = 3
|
||||
|
||||
#str = 'Die ' + wert + ' Musketiere'
|
||||
|
||||
|
||||
str = 'Die ' + str(wert) + ' Musketiere'
|
||||
|
||||
print(str)
|
||||
|
Reference in New Issue
Block a user