Introduction
Lesson 1 of 7 in Coddy's Random Fact Generator - Python Project course.
Welcome to the Random Fact Generator Project!
In this project, we will create a simple fun/random facts generator using a public API (uselessfacts).
We will use the requests and json libraries to extract the data.
In the end, we will add the option to generate a couple of facts in one run.
Let's start!
Challenge
EasyCreate a function named get_fact that gets no arguments and returns "some fact" (for now…)
Try it yourself
# Write code here