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?

10th Nov 2022, 9:25 AM
Stephany
1 Odpowiedź
+ 1
string[i] - take a i-symbol in string new_string = string1 + string2 range(start, end, step) step can be -1, -2...
10th Nov 2022, 10:20 AM
Danila Khaminets
Danila Khaminets - avatar