Answers for "python backwars"

2

inverted for python

for i in reversed(range(5)):
    print(i)
Posted by: Guest on September-13-2020
28

reverse string in python

'hello world'[::-1]
'dlrow olleh'
Posted by: Guest on December-06-2019

Python Answers by Framework

Browse Popular Code Answers by Language