Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Constructs

EasyMedium
1234
Question 2

A programmer is writing a Python program to manage a membership system.

A user enters a member's name and their loyalty points balance when the program executes.

The program should display the message 'Upgrade available for ' followed by the member's name specifically when the loyalty points balance is greater than 500.

An incomplete version of the code is shown below:

name = input("Enter member name: ")
points = int(input("Enter loyalty points: "))

# Complete the code below

Amend the code to complete the program as specified.

[4]

Constructs Questions

  1. IGCSE
  2. /Computer Science
  3. /Constructs