All to uppercase

Report a typo

Design a decorator that will return the string written in all uppercase letters.

Sample Input 1:

I love Python!

Sample Output 1:

I LOVE PYTHON!
Write a program in Python 3
def to_upper(function):
# YOUR CODE HERE
___

Create a free account to access the full topic