Basic Features
Using the basic features like Jokes, Quotes, Dogs, and more
Jokes:
Getting and printing a single joke:
import main as up #import the file!
joke = up.jokes() # we get the joke in the form of a dict
print(f"{joke['setup']}\n{joke['punchline']}") # We print the setup and the punchline - completing the joke1 joke is not enough? Well, you can either go small or go big - and by big I mean 10 jokes.
import main as ap # import the file!
joke = up.ten_jokes() # get 10 jokes in the form of a dict!
for i in joke:
print(i["setup"]) #print the setup
print(i["punchline"], "\n") #print the punchlineInspiration:
Inspire some people with these, I guess.
Random Task:
Get a random task you need to complete
Dog Images:
Random Cat Fact:
Last updated
Was this helpful?