What Won't Convert
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L3
Problem
A raw export hands you a column that should be integers, but some cells hold junk that won't convert. Return the values as integers in their original order, with `None` in place of anything that can't be converted.
Summary
Some values become numbers. The rest become nothing.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.