Files
inf-kswo/StringOperations/reverser.py
Janis Hutz ede0ee318b Format
There really is no hope of making this code even half-way decent without
spending the time to rewrite them all properly. Don't want to do any of
that
2025-11-03 17:08:35 +01:00

12 lines
270 B
Python
Executable File

eingabe = input("Dein Text: ")
caracter = -1
morecaracters = True
amountleft = len(eingabe)
while morecaracters:
print(eingabe[caracter], end="")
if amountleft > 1:
caracter -= 1
amountleft -= 1
else:
morecaracters = False