Skip to content
MathsGenie logo
Open app

Course home

  1. GCSE
  2. Computer Science AQA
  3. Question bank

Programming concepts

EasyMediumHard
12345678910111213141516171819202122232425262728293031323334353637
Question 32

Extend the program in Figure 1. Your answer must be written in Python.

The program should keep getting the user to enter the seat number until they enter a seat number that is between 1 and 50 inclusive.

You should use indentation as appropriate, meaningful variable name(s) and Python syntax in your answer.

Figure 1

seat = int(input("Enter seat number: "))
[4]

Programming concepts Questions

  1. GCSE
  2. /Computer Science
  3. /Programming concepts