Completion requirements
This book resource provides the information like definition and various types of data types in Python.
Note : This is mandatory to complete. After completion, you can manually mark the activity as completed
2. Types of Data types
2.3. Boolean Data type
It is also a built-in data type that can hold a value either True or False. Boolean values are used to make logical decisions and control flow of a program. Boolean values are also used to perform conditional operations.
Example:
a=True
print("The type of a", type(a))
Output:
The type of a <class ‘bool’>