Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if statement python

#a statement that checks if a condition is correct
#example:
x=5
if x == 5:
  print("x is 5")
else:
  print("x is not 5")
 
PREVIOUS NEXT
Tagged: #statement #python
ADD COMMENT
Topic
Name
5+6 =