Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

converting bool to 1 if it has true and if it is false print 1

bool = True
if bool == True:
    print(1)
else:
    print(0)
print()
 
PREVIOUS NEXT
Tagged: #converting #bool #true #false #print
ADD COMMENT
Topic
Name
1+2 =