[Tutor] How to print a variable from an if/else statement

chrisbva81 at gmail.com chrisbva81 at gmail.com
Wed Sep 12 11:32:38 CEST 2012


I'm very new thanks in advance for your help. 

My If statement is:

If age < (40):
  Print("you are young.")
  Print("You look great.")

Basically what I want to do is have a sentence using print that includes the results of the If or Else which is based on the users input of age.

 I don't know if I'm doing something wrong by doing it this way. I can't figure it out.


Sent via BlackBerry by AT&T

More information about the Tutor mailing list