From ea596072116c02ba4b86ea83686e3310f1f8159c Mon Sep 17 00:00:00 2001 From: Abhilash Date: Mon, 11 Aug 2025 12:34:23 +0530 Subject: [PATCH] added a simple age checker script --- age_controller.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 age_controller.py diff --git a/age_controller.py b/age_controller.py new file mode 100644 index 00000000..15a2072c --- /dev/null +++ b/age_controller.py @@ -0,0 +1,8 @@ +try: + age= int(input("enter your age")) + if age< 18: + print("minor") + else: + print("major") +except: + print("age is not valid") \ No newline at end of file