Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if loop python

// If statement
>>> a = 20
>>> if a > 10:
         print("20 is greater than 10")
    else:
         print("20 is less than 10")
 
Output
20 is greater than 10
Source by www.askpython.com #
 
PREVIOUS NEXT
Tagged: #loop #python
ADD COMMENT
Topic
Name
8+5 =