Saturday, 12 November 2016

Logical and operator Python

print "Eligibility Check Program"
print("Enter your age>> ")
age=int(raw_input())
print "Enter Hieght"
h=int(raw_input())
print "Enter Percentage"
p=float(raw_input())
if(age>18 and h>5 and p>55.55):

    print "\n\tEligible You can apply"
else :
    print "\n\tSorry you are not Eligible"

Download PDF
Next Topic

No comments:

Post a Comment