I need help in python .....wap that take a number from user and check it for greater or smaller or even or odd
and coding for if you are eligible to vote or not

1
Comment has been deleted
Comment has been deleted
Comment has been deleted
Comment has been deleted
Comment has been deleted

Answers

The Brainliest Answer!
  • Brainly User
2014-11-24T16:33:39+05:30
Take any number  two number and store it "n" and "x"
n=input("enter a number ")
x=input("enter another number ")
if n>x
print n 
else :
print x
            

and for even and odd 
let just take these number only
n=input("number")
if n %2==0
print "even"
else 
print "odd"




for elegibility of vote
age=input("to check if eligible to vote or not ")
if age>18:
print "not eligible"
else:
print eligible



 

3 4 3
y this ans is reported it is correct