Write a program to reverse the string using logic but without using reverse function? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Write a program to reverse the string using logic but without using reverse function?

Means in this program we should not use [::-1]

8th May 2020, 11:20 AM
Nikhil Kulkarni
Nikhil Kulkarni - avatar
3 Réponses
+ 3
https://code.sololearn.com/cpUhlKU2Rf5S/?ref=app Here is my cheap technique 😌
8th May 2020, 11:48 AM
Abhay Kalsi
Abhay Kalsi - avatar
+ 1
Abhay I am tagging other languages because I want to see the logic.don't use length of string also and solve the problem
8th May 2020, 1:10 PM
Nikhil Kulkarni
Nikhil Kulkarni - avatar
0
So why are you tagging other languages when it's about python ?Also we aren't going to write for you ,I am sure you know that you need to post your attempt so that we can see what you have done till now :-) also as a hint it's not really difficult if you can get the length of string
8th May 2020, 11:44 AM
Abhay
Abhay - avatar