What is bool data type good for in Python?
Experience Level: Junior
Tags: Python
Answer
The bool data type can hold True/False value. The boolean variables are defined by the True and False keywords.
Related Python job interview questions
What is a data type timedelta good for in Python?
Python JuniorWhat is the datetime data type good for in Python?
Python JuniorWhat is a Set data type good for in Python?
Python JuniorHow do you inherit one class from another class in Python?
Python JuniorWhy would you want to inherit a class for another class in Python?
Python Junior