In this tutorial we will learn how can we get some random jokes using python.
We need one external module “pyjokes”.
to install pyjokes type "pip install pyjokes " in your terminal.
Code==
import pyjokes
print(pyjokes.get_joke())
Also, you should visit our website for small to large python projects
website== copyassignment.com
#python