Reverse 2 digit and 2decimal [ question] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Reverse 2 digit and 2decimal [ question]

Hi gays Actually I’m trying to solve how can reverse 2 digit and 2decimal .. can u please give me the concept

22nd Feb 2019, 4:06 PM
Bakhita
3 Answers
+ 2
https://code.sololearn.com/c5qQLZJe728v/?ref=app In that case you wanna convert your float to a string and reverse from there..
22nd Feb 2019, 7:48 PM
Alex Nicolas Kessi
Alex Nicolas Kessi - avatar
22nd Feb 2019, 6:54 PM
Alex Nicolas Kessi
Alex Nicolas Kessi - avatar
0
Alex thank you , but i mean how to have reverse if i have a number with decimal .. for example 78.21 .. how can i wrote like 21.78
22nd Feb 2019, 6:58 PM
Bakhita