A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L5
Problem
Given a positive integer k, return a list of 10 milestone values at 10%, 20%, ..., 100% of k. Each value is int(k * pct / 100). Return the list of 10 integers in order.
Summary
Progress at every 10% increment. Keep the receipts.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.