Python Conditional Statement

From GM-RKB
Revision as of 11:20, 22 January 2013 by Gmelli (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A Python Conditional Statement is a programming conditional statement expressed in the Perl Language.



Examples

    if a > 5:
        print (a,">",5)
    elif a <= 3:
        print (a,"<=",7)
    else:
        print ("Neither test was true")