This snippet of code will fetch jokes from an API annd display them in terminal for us to see.
$ pip install pyjokes
$ pip install pyttsx3
- Open code.py in any text/code editor
- Run this code.py
$ python jokes.pyor$ python laugh.py - Yay !! Enjoys thousands of jokes with audio.