Relative Content

Tag Archive for python-3.xjupyter-notebookpython-importnameerror

import statement not recognized by python

i was coding in python, i ‘imported’ the timeit module, when i tried running
timeit.timeit(stmt,setup,number=100000)
it threw an error stating
NameError: name ‘timeit’ is not defined
im unable to figure this out is because its not recognizing the import statement.