Problem 3: Student Record Lookup
Easypython
Learn the Concept: Variables, Data Types, LoopsProblem 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
textMeera, 22, True
Example Output
textName: Meera Age: 22 Passed: True
Concepts Covered
Dictionaries, key-value access, print() formatting.
Related Problems
- Problem 1: Sum of a ListEasy · pythonSolve Problem
- Problem 2: Even Numbers FilterEasy · pythonSolve Problem
- Problem 4: Countdown with Early StopEasy · pythonSolve Problem