Given names = ['Ada', 'Linus', 'Grace'] and scores = [95, 82, 91], use zip and enumerate (starting a
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
Problem
Given names = ['Ada', 'Linus', 'Grace'] and scores = [95, 82, 91], use zip and enumerate (starting at 1) to print lines like '1. Ada: 95'.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.