0
Do any one know how to write a string backwards like 'bro' to "orb"
Well My course is python Please help
5 Answers
+ 4
'bro'[::-1]
Your try??????
learn about list slicing..
+ 4
Actually I was so confused and Nervous I wrote
Print (bro = backward)
đ
đ
+ 4
May be you forgot you are talling to machine, not the human.. đ€.
Don't be nervous but be carefull..
+ 3
Ok thanks
0
You can try some library functions if your language is python like
Reversed (<variable>)
To do this you should convert or change the string to a list