0
taka a string as input and give its reverse as output how can i do this with forloop in python can anyone plz explain?
1 Resposta
+ 1
string[i] - take a i-symbol in string
new_string = string1 + string2
range(start, end, step) step can be -1, -2...