This program takes any string as user input and outputs the next string: alphabet position in reversed order
For local PC:
- Download Python 3.7 or later versions from official page: https://www.python.org/downloads/release/python-370/
No additional libraries are required
-
Launch Windows cmd terminal (or PowerShell) or terminal in MacOS and Linux
-
Input the path to reserse.py file in the following format (yours may be in Downloads folder):
cd C:\Users\Егор\PycharmProjects\pythonProject python main.py
Expected input is a single word in English without other symbols and without accounting the register.
The output is a list of integers - the alphabet position of characters in reversed order.
Input: INNOPOLIS Output: 19 9 12 15 16 15 14 14 9
Input: Inno Output: 15 14 14 9
Input: EGOR Output: 18 15 7 5
Lisa - 1 19 9 12
Egor - 18 15 7 5
Evgenii - 25 14 5 7 22 5