We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 902a6c1 commit aa50bdfCopy full SHA for aa50bdf
1 file changed
age_eligibility.py
@@ -0,0 +1,12 @@
1
+a = int(input("Enter your age: "))
2
+
3
+# If else statement
4
+if(a>=18):
5
+ print("You are above the age of consent")
6
+ print("Good for you")
7
8
+else:
9
+ print("You are below the age of consent")
10
11
12
+print("End of Program")
0 commit comments