立即学习:https://edu.csdn.net/course/play/26676/338763?utm_source=blogtoedu
True = 1
False = 0
True +1 = 2
type of true/false is bool
bool(1) gives 1
bool() gives false
bool(' ') gives true
----------------------------------------
False and 3
get False
0 and 3
get 0
3>2 and 4>3
get True
3>2 and 4
get 4
and ---- left first, if is true then look at right
or ---- the reverse
-----------------------
import module
import module as new_name
from module import function
from module import function as new_name
from module import * (means import all)
-----------------------------------------
a,_,c = 1,2,3
a = 1 and c = 3
a,*b = 1,2,3
a = 1 and b = [2,3]
----------------------------------------
a = a + 1 ---> a+= 1