Programming/Python | Posted by 알 수 없는 사용자 2009. 1. 30. 17:28

multiply by logical values

>>> 20 * True
20
>>> 20 * False
0