...

/

Solution: Mad Lib Generator

Solution: Mad Lib Generator

We'll cover the following...

This program defines a function that creates a fun sentence using the words you give it.

C++
def madlib(noun, verb, adjective):
print("The", adjective, noun, "decided to", verb, "all day.")
madlib("cat", "dance", "silly")
    ...