>
>
>>  Ummm, whats a branch? Haha, I know loops, but not branches.
>
A branch changes the program flow based on a condition.
Example:
x = int(raw_input("Please enter a number!"))
if x > 10:
    print "Your number was greater than 10!"
else:
    print "Your number was less than or equal to 10!"
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to