Python Conditional Statement: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (Text replacement - "References == * " to "References ==  * ")  | 
				m (Text replacement - "---- == Refe" to "----  == Refe")  | 
				||
| Line 10: | Line 10: | ||
----  | ----  | ||
----  | ----  | ||
== References ==  | == References ==  | ||
Revision as of 18:36, 22 December 2020
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.