Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if statement python

can_do = True
can_do1 = True

if can_do:
    print("we can do it")
elif can_do1:
    print("we can do it but the second time")    
else:
    print("we cant do it")
#result should be (we can do it.)
 
PREVIOUS NEXT
Tagged: #statement #python
ADD COMMENT
Topic
Name
4+2 =