Chuk norris jokes

in the chuk norris jokes ques i have made a code in which the user input the number according to which the csv file is created . what is the format??? as i subbmit nothing comes. and start calculating

Hey @pulkit10251,

Follow these simple steps:

  • Read the ID.csv and consider the values of IDs.
  • iterate over all the ids, and make a get request to the updated url (change id everytime)
  • from the response you get, extract the joke, and append this joke to one list that was earlier initialized as empty.
  • make a dataframe with 2 columns ID and Joke, and convert it to csv format.

Thanks :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.