Created
January 31, 2016 21:39
-
-
Save Xotabu4/1816fadbb8883abc240f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| while True: | |
| userinput = input('Please, type any word. It will be reduced by 2 characters from begin and from end: ') | |
| if userinput: | |
| print('Result is:') | |
| print(userinput[2:-2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment