programming-examples/python/Basics/Python script that takes input from the user and displays that input back in upper and lower cases.py

3 lines
172 B
Python
Raw Normal View History

2019-11-18 14:44:36 +01:00
user_input = input("What's your favourite language? ")
print("My favourite language is ", user_input.upper())
print("My favourite language is ", user_input.lower())