
name1 = input('Please enter your name: ') if name1 == str (anees) or str (clow) : print( 'Authentication Success, You are allowed to enter the premises ' ) else : print('Access not allowed')
# code to show who is allowed and who is not allowed to enter the premises #
When I run the code , its throwing error as name1 not defined . Please help
I am beginner to python coding, Please do help and rectify the code