Available Seats in Python
Write a Python function that accepts a list of seat states, loops through it, and returns the number of seats still available.
Python
Challenge overview
- Format
- Build a Function
- Category
- Python
- Difficulty
- Beginner
pythonfunctionslistsloopscounting
Keep practicing
More coding challenges
JavaScript · Beginner
Battery Warning
Use a JavaScript if statement to detect a low battery level and print a clear warning when the charge drops below 20 percent.
View challengePython · Beginner
Battery Warning in Python
Use a Python if statement to check a battery level and print a warning only when the provided value falls below the required threshold.
View challengeReact · Intermediate
Build a Character Limit Textarea
Build a typed React textarea that enforces a configurable character limit, reports the remaining count, and sends each accepted value upstream.
View challenge

