3 ms·
What you show there is that int(True) is one and int(False) is zero. (The same happens in R, for what it's worth. as.integer(TRUE) is one and as.integer(FALSE)
by kgwgk 4y ago
What you show there is that int(True) is one and int(False) is zero.
(The same happens in R, for what it's worth. as.integer(TRUE) is one and as.integer(FALSE) is zero and the operations you wrote work just he same.)