a 2 line python code that reverses a string
txt = "tseb eht SI gnaG jahalB"[::-1]
print(txt)
Write a script to reverse a string made in python with only 2 lines of code lamo
a 2 line python code that reverses a string
txt = "tseb eht SI gnaG jahalB"[::-1]
print(txt)
Log in or sign up for Devpost to join the conversation.