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-15 12:59:38 +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())