Have anyone know how to reverse the output ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 7

Have anyone know how to reverse the output ?

19th May 2021, 5:01 AM
DLPH 王者 👑
DLPH 王者 👑 - avatar
5 Réponses
+ 4
Java => iterate the string from backwards. Python => use [::-1] slicing on string.
19th May 2021, 5:02 AM
TOLUENE
TOLUENE - avatar
+ 6
Okay , thanks for help😁😁
19th May 2021, 5:08 AM
DLPH 王者 👑
DLPH 王者 👑 - avatar
+ 6
Thanks Md Sayed and Atul again because I have successfully reverse the output by using Java . https://code.sololearn.com/c8a19A14a25a/?ref=app
1st Jun 2021, 2:55 AM
DLPH 王者 👑
DLPH 王者 👑 - avatar
+ 3
In java you can use string builder or String buffer too And in python use lists and slice it backwards as mentioned by SAYED🇧🇩🇵🇸
19th May 2021, 5:06 AM
Atul [Inactive]