How To Convert Boolean To Int Python