Python Program to check if Candidate is Eligible for Driving Licence
Write Python Program to check if Candidate is Eligible for Driving Licence
# Python Program to check if Candidate is Eligible for Driving Licence Age = int(input("Enter the Age :--> ")) if Age > 18: print("The person is eligible for driving license ") else: print("The person is not eligible for driving license ")
Output:
Run 1:
Enter the Age :--> 17
The person is not eligible for driving license
Run 2:
Enter the Age :--> 25
The person is eligible for driving license