[go: nahoru, domu]

Skip to content

Commit

Permalink
adding a forgotten script
Browse files Browse the repository at this point in the history
  • Loading branch information
mite404 committed Feb 3, 2024
1 parent 1ccd14a commit 6b7b41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 08_string_reversal.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# ask the user to input a string and then print the reversed string

x = input('Please input a string:')
y = x [::-1]
print(y)
y = x[::-1]
print(y)

0 comments on commit 6b7b41f

Please sign in to comment.