Decorator / Context Manager

Create a simple function that prints the paramenters value to console.

[4]:
def quotes(*args):
    for _ in args:
        print(_)

quotes('Honey Im home!', 'A car is a car until ...' )
Honey Im home!
A car is a car until ...

You should decorate this function so it can get its quotes from:

  1. a text file

  2. a csv file

  3. a json file

  4. a SQlite databs

[ ]: