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
why requests not definedYou have not imported requests module in your code. Please add it to your first line after statistics and your code should work.