Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
What is a Boolean Data Type? | Boolean Type
Python Data Types
course content

Conteúdo do Curso

Python Data Types

Python Data Types

1. Numeric Types
2. Boolean Type
3. Strings

bookWhat is a Boolean Data Type?

It's time to move to the Boolean data type. Variables that are Boolean data types can take the following values: either False or True.

Keywords False and True are capitalized, if we write lowercase we will get an error.

In Python, data types such as Boolean and integer are very interrelated, namely the default Boolean value False is represented by an integer 0, and Boolean value True is represented by an integer 1.

Tarefa

Swipe to show code editor

test

You have to fill in the blanks so that all expressions will be True.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 1
toggle bottom row

bookWhat is a Boolean Data Type?

It's time to move to the Boolean data type. Variables that are Boolean data types can take the following values: either False or True.

Keywords False and True are capitalized, if we write lowercase we will get an error.

In Python, data types such as Boolean and integer are very interrelated, namely the default Boolean value False is represented by an integer 0, and Boolean value True is represented by an integer 1.

Tarefa

Swipe to show code editor

test

You have to fill in the blanks so that all expressions will be True.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 1
toggle bottom row

bookWhat is a Boolean Data Type?

It's time to move to the Boolean data type. Variables that are Boolean data types can take the following values: either False or True.

Keywords False and True are capitalized, if we write lowercase we will get an error.

In Python, data types such as Boolean and integer are very interrelated, namely the default Boolean value False is represented by an integer 0, and Boolean value True is represented by an integer 1.

Tarefa

Swipe to show code editor

test

You have to fill in the blanks so that all expressions will be True.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

It's time to move to the Boolean data type. Variables that are Boolean data types can take the following values: either False or True.

Keywords False and True are capitalized, if we write lowercase we will get an error.

In Python, data types such as Boolean and integer are very interrelated, namely the default Boolean value False is represented by an integer 0, and Boolean value True is represented by an integer 1.

Tarefa

Swipe to show code editor

test

You have to fill in the blanks so that all expressions will be True.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 1
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
some-alt