Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """
- Basic Syntax, Conditional Statements and Loops - Lab
- Check your code: https://judge.softuni.bg/Contests/Practice/Index/1718#2
- Video: https://www.youtube.com/watch?v=sP_t7cbZF7c
- SUPyF2 Basic - 03. Word Reverse
- Problem:
- Write a program that receives a single word from the user, reverses it and prints it
- Example:
- Input:
- Python
- Output:
- nohtyP
- Input:
- banana
- Output:
- ananab
- """
- print(input()[::-1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement