Booleans and Number in Python