Skip to content
C

Problem 3: Student Record Lookup

Easypython

Problem Description

Write a Python program that stores a student's details (name, age, and passed status) in a dictionary, then prints each piece of information with a clear label.

Input

Three values: name (string), age (integer), passed status (boolean).

Output

Three lines displaying the name, age, and pass status clearly labeled.

Constraints

  • Age must be a positive whole number.

Example Input

text
Meera, 22, True

Example Output

text
Name: Meera Age: 22 Passed: True

Concepts Covered

Dictionaries, key-value access, print() formatting.

Input (stdin)

Output

Run your code to see output here...