Python Conditional Statement
Jump to navigation
Jump to search
A Python Conditional Statement is a Python statement that is a programming conditional statement.
- Example(s):
if debug: print "here"
if a > 5:
print (a,">",5)
elif a <= 3:
print (a,"<=",7)
else:
print ("Neither test was true")
- Counter-Example(s):
- See: Python Pattern Matching Expression.