Python Conditional Statement: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "---- == Refe" to "---- == Refe") |
m (Text replacement - ". ----" to ". ----") |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
** a [[Python Function Definition Statement]]. | ** a [[Python Function Definition Statement]]. | ||
* <B>See:</B> [[Python Pattern Matching Expression]]. | * <B>See:</B> [[Python Pattern Matching Expression]]. | ||
---- | ---- | ||
---- | ---- | ||
Line 16: | Line 17: | ||
---- | ---- | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Concept]] | [[Category:Concept]] |
Latest revision as of 00:03, 23 September 2021
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.