time = input("How long on average do you spend on the computer per day?")
if time <= 2:
    print "Message1"
else:
    print "Message2"




On Thu, Aug 20, 2015 at 3:20 PM, Nathan Clark <26110...@gmail.com> wrote:

> I have written a basic program out of python and it is not functioning,
> please could you proof read my code and tell me how to fix it.It is in
> python 3.3
>
> time=int(input("How long on average do you spend on the computer per day?")
> (print("that seems reasonable")) if time<=2
> else print ("get a life")
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to