Loading...

The Type Sorter

A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
easy
Seniority
junior, mid

Problem

Given a list containing a mix of integers and other values (strings, None, floats), return a new list containing only the integer values in their original order. Do not include floats or booleans - only pure int values.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.