Find the First Available Seat in Python

Use Python's next() with a generator to return the first truly available seat label, or None when the list has no open seats.

Python

Challenge overview

Format
Build a Function
Category
Python
Difficulty
Beginner
pythonlistsdictionariesgenerator-expressionsnextnone

Keep practicing

More coding challenges