python-CSD-kursu/reverse-text.py

5 lines
95 B
Python
Raw Normal View History

2023-05-20 12:08:25 +03:00
s = input('Bir yazı giriniz :')
i = len(s) - 1
while i > 0:
print(s[i], end='')
i -= 1