programming-examples/python/Basics/Python script that takes input from the user and displays that input back in upper and lower cases.py
2019-11-18 14:44:36 +01:00

3 lines
172 B
Python

user_input = input("What's your favourite language? ")
print("My favourite language is ", user_input.upper())
print("My favourite language is ", user_input.lower())