Submission doubt

import requests
import json
url=“http://api.icndb.com/jokes/
ID=int(input())
url=“http://api.icndb.com/jokes/{}”.format(ID)
rsp=requests.get(url)
Joke_dict=json.loads(rsp.content)
Joke=Joke_dict[“value”][“joke”]
print(Joke)

this is the code, i have written for the chuck norris jokes probem, it takes an input from the user and print the joke accordingly, but how do i upload it? i created a csv of the same but it says errored on submitting

hey @devchopra999_11c6416ab7f09bbf ,
you don’t need to take any input,

check that there is test file provided along with this challenge.
you need to take ID’s from there.

1 Like

so i need to take ids from that file and store the jokes in a new csv?

yes , you need to do that.
sorry to be so late .

1 Like