Error <requests not deined> in project 15

i have defined the function and called the function at conditional statement but why requests is not defined i am attaching the files yu can go throught please reply to me

error why requests not defined


You have not imported requests module in your code. Please add it to your first line after statistics and your code should work.