Skip to content

Commit

Permalink
Basic
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjanaPurbia authored Sep 7, 2021
1 parent 013f341 commit 648f73b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ageChecking.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
try:
age= int(input("Enter the age:"))
if(age>=18):
print("eligible for vote")
else:
print("not eligible")
except:
print("Plz enter valid age")

0 comments on commit 648f73b

Please sign in to comment.