Loading...

The Integer Sieve

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

Write a function that takes a mixed list and returns a new list containing only integer values. Booleans should NOT be included even though bool is a subclass of int in Python.

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.