lab challenge

Python Challenge: Sublist

Difficulty: Beginner
Duration: Up to 25 minutes
Students: 476
Rating: 3.2/5
Get challenged in a real environmentProve your skills in a real-world, provisioned environment.
Push your limitsComplete an unguided mission within the time limit.
See resultsTest your problem-solving skills and track your progress.

Description

In this challenge you will determine, using the Python programming language, which of the following cases is true given two lists:

  1. If the first list is contained within the second list,
  2. If the second list is contained within the first list,
  3. If both lists are contained within each other, or
  4. If none of these are true.

Prerequisites

  • Knowledge of Python 3

Intended audience

  • Beginner Python developers

What will be assessed

  • Your ability to write Python code within a time-limited environment

Covered topics