File size: 386 Bytes
b70c4a4
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import requests

resp = requests.get('https://agents-course-unit4-scoring.hf.space/questions')
questions = resp.json()

q5 = questions[4]
print(f"Q5: {q5['question']}")
print()
print(f"'featured article' in q5: {'featured article' in q5['question'].lower()}")
print(f"'dinosaur' in q5: {'dinosaur' in q5['question'].lower()}")
print(f"'FunkMonk' in q5: {'FunkMonk' in q5['question']}")