Python programming codes
43 subscribers
25 photos
1 video
83 files
82 links
Uploading All programming codes are updating Daily
ask doubts in comment box đŸŽâ˜‘ī¸
Download Telegram
#program to reverse a string
name = input('Enter a name : ')
print('Entered name is:',name)
#suresh
#us
#hserus
#print(name[::-1])

reverse = ""
for i in name:
reverse = i + reverse

print('Reversed value of {} is {}'.format(name,reverse))