Answers for "print backwards python"

27

how to reverse a string in python

# in order to make a string reversed in python 
# you have to use the slicing as following

string = "racecar"
print(string[::-1])
Posted by: Guest on November-26-2020
-1

print backwards python

encrypted_message = "!XgXnXiXcXiXlXsX XnXoXhXtXyXpX XgXnXiXnXrXaXeXlX XmXaX XI"
encrypted_message[-1:0:-2]
Posted by: Guest on October-01-2020

Code answers related to "print backwards python"

Python Answers by Framework

Browse Popular Code Answers by Language