x=0
y=0
w=raw_input("Input: ")
w=list(w)
for x in range(len(w)):
  a=w[x]
  t=0
  print a
  if a==2 or a==4 or a==6 or a==8 or a==10:
    t=a/2
    print "hi"

When I run this program, it doesn't print "hi". Can you please tell me why?



      
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to