import random
people=0
def intake (testage):
if testage <= 18:
print("Person accepted!")
people=people+1
else:
print("Person Denied!")
while people <= 150:
age=random.randint(0,81)
intake(age)
print("At capacity!")
on line 2 the variable people comes up with errors if I define it or if I don't define it