reverse text

This commit is contained in:
Mert Gör 🇹🇷 2023-05-20 12:08:25 +03:00
parent 116d1e6db7
commit 814bbe2c4a
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9

5
reverse-text.py Normal file
View File

@ -0,0 +1,5 @@
s = input('Bir yazı giriniz :')
i = len(s) - 1
while i > 0:
print(s[i], end='')
i -= 1