Conteúdo do Curso
Introduction to Python
3. Conditional Statements
Boolean Data TypeChallenge: Comparison OperatorsCombining ConditionsChallenge: Logical OperatorsMembership Operators and Types ComparisonSimple if/else ExpressionsChallenge: Grocery StoreChallenge: Odd and Evenif/elif/else ExpressionsChallenge: Grocery Store ExtendedChallenge: Positive, Negative or Zero
Introduction to Python
Challenge
Tarefa
You have the dictionary people
, which holds data on individuals' names, ages, and heights using the format 'name': (age, height)
. Your tasks include:
- Adding the following details to the
people
dictionary:
Name | Age | Height |
John | 41 | 185 |
Michelle | 35 | 165 |
- Displaying the updated dictionary.
Tudo estava claro?
Seção 4. Capítulo 14
Conteúdo do Curso
Introduction to Python
3. Conditional Statements
Boolean Data TypeChallenge: Comparison OperatorsCombining ConditionsChallenge: Logical OperatorsMembership Operators and Types ComparisonSimple if/else ExpressionsChallenge: Grocery StoreChallenge: Odd and Evenif/elif/else ExpressionsChallenge: Grocery Store ExtendedChallenge: Positive, Negative or Zero
Introduction to Python
Challenge
Tarefa
You have the dictionary people
, which holds data on individuals' names, ages, and heights using the format 'name': (age, height)
. Your tasks include:
- Adding the following details to the
people
dictionary:
Name | Age | Height |
John | 41 | 185 |
Michelle | 35 | 165 |
- Displaying the updated dictionary.
Tudo estava claro?
Seção 4. Capítulo 14