Upload code
This commit is contained in:
15
RandomOtherStuff/Textverbinder.py
Executable file
15
RandomOtherStuff/Textverbinder.py
Executable file
@@ -0,0 +1,15 @@
|
||||
x = input("Wert x: ")
|
||||
y = input("Wert y: ")
|
||||
z = input("Wert z: ")
|
||||
|
||||
whole = x + " " + y + " " + z
|
||||
remaining = len(whole)
|
||||
start = 0
|
||||
ending = 6
|
||||
while remaining > 1:
|
||||
print(whole[start:ending], end=" ")
|
||||
start += 6
|
||||
ending += 6
|
||||
remaining -= 6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user