Greetings, Please, could someone help in Python to:
1-Create a program which uses the Request library to make a GETrequest of the following API: Chuck Norris Jokes.
2-The program will receive a JSON response which includesvarious pieces of data. You should parse the JSON data to obtainthe “value” key. The data associated with the value key should bedisplayed for the user (i.e., the joke).
3- Your program should allow the user to request a Chuck Norrisjoke as many times as they would like. You should make sure thatyour program does error checking at this point. If you ask the userto enter “Y” and they enter y, is that ok? Does it fail? If itfails, display a message for the user. There are other ways tohandle this. Think about included string functions youmight be able to call.
4- Your program must have a properly defined mainmethod and a properly defined call to main.
5- Your program must include a welcome message for theuser.
6- Your program must generate “pretty” output. Simply dumping abunch of data to the screen with no context doesn’t represent“pretty.”
Thank you.
Greetings, Please, could someone help in Python to: 1-Create a program which uses the Request library to make a GET requ
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am