Challenge
Tarefa
You've been provided with a dictionary named people_d
that holds data in the format: 'name': (age, height)
. Create a function named people_information
that accepts two parameters:
d
(intended to be a dictionary).name
(intended to be a key within the dictionary).
This function should display the following details (based on the data format in people_d
):
For example, given the name 'Alex'
, the output should read:
Tudo estava claro?
Conteúdo do Curso
Introduction to Python
3. Conditional Statements
Introduction to Python
Challenge
Tarefa
You've been provided with a dictionary named people_d
that holds data in the format: 'name': (age, height)
. Create a function named people_information
that accepts two parameters:
d
(intended to be a dictionary).name
(intended to be a key within the dictionary).
This function should display the following details (based on the data format in people_d
):
For example, given the name 'Alex'
, the output should read:
Tudo estava claro?