ghostmkg / programming-language

You write code in any programming language you want. And push the code.
33 stars 79 forks source link

Age Validator Python Program #35

Closed neelabhra-de closed 4 days ago

neelabhra-de commented 4 days ago

Age Validator

A simple Python program that checks if the user's input age meets specific conditions:

If the age is 18 or above, it confirms the user is above the age of consent. If the age is less than or equal to 0, it flags it as an invalid input. If the age is below 18, it notifies the user accordingly. The program runs in an infinite loop, continuously asking for user input until manually stopped.