A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L3
Problem
Given positive integer k, return the list [k*10//100, k*20//100, ..., k*100//100] (each 10% milestone of k as an integer using floor division). Always 10 elements.
Summary
Just tell them how far along you are.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.