Getting error but compiled correctly

Getting error PLZ help

hey @vidit123 ,
int this code section

for i in range(len(m)):
if(m[i]['id'] in test):
joke=m[i]['jokes']
all_jokes.append(joke)

just change jokes to joke.
It will work.

Thank You :slightly_smiling_face:.

Changed, but what is the file ID.csv, I mean what it should contain??

to check your final score ,
we have provided you with a csv file containing only the Id’s of jokes , which you need to scrap from the given url .

Thanks man, great explanation!!

:sweat_smile: :slightly_smiling_face: