Nameerror Name Nn Is Not Defined