Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Cisco Certified DevNet Associate (DEVASC) · Cisco
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
You get the "NameError" whether the "requests" module is installed or not, if the "requests" module is not imported. If you try to import the "requests" module when it's not installed, you get the "ModuleNotFoundError".
C. Please check out this StackOverflow code. For me worked when I tried this example. https://stackoverflow.com/questions/26895371/nameerror-name-requests-is-not-defined
U still have to import requests module