In python how to get output of any name in from backward....like my name shinaya in backward "ayanihs "
Answers
Answered by
4
let store your name in string a
in the script
r="shinaya"
p=r[::-1]
print p
and output would be
#ayanihs
in the script
r="shinaya"
p=r[::-1]
print p
and output would be
#ayanihs
Similar questions
English,
8 months ago
Geography,
8 months ago
English,
1 year ago
Environmental Sciences,
1 year ago
Chemistry,
1 year ago