DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+8 =
Submit