0
How do you make words backwards?
How do you make words backwards?
2 Antworten
0
Use slicing. For example
words="Backwards"
print(words[::-1])
#Output sdrawkcaB
0
try slicing 'word[::-1]'. you can also use the well known reversed fonction.
How do you make words backwards?