Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

one line if statement without else

if [condition]: [one line of code when condition true]
  
if x == 0: print("Condition passed")
Source by tutorial.eyehunts.com #
 
PREVIOUS NEXT
Tagged: #line #statement
ADD COMMENT
Topic
Name
9+8 =