Python Refresher

Python in a Weekend - Functions

Create a function named love that prints I love Python!. Then call the function twice.

Solution

                    def love():
  print('I love Python!')

love()
love()
                

Here's some courses you might like: