Hello I have coded the first snippet in python - defined a function , then I am getting error if I try call the function from the IDLE window. The error is :
/////////////////////////////////// Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'print_lol' is not defined ////////////////////////////////// print_lol is the name of the function that is declared and defined inside the file called nester.py and IDLE is called in the same path. What is that I am missing here ? Thanks _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor