age = int(input('Enter your age: '))
print(age)
if age < 18:
    print('Minors are not allowed')
else:
    print('You are allowed to enter')
This is good codeThis is good codeThis is good codeThis is good codeThis is good codeThis is good codeThis is good codeThis is good code
age = int(input('Enter your age: '))
print(age)
if age < 18:
    print('Minors are not allowed')
else:
    print('You are allowed to enter')
This is good codeThis is good codeThis is good codeThis is good codeThis is good codeThis is good codeThis is good codeThis is good code