Challenge 8

Open up your previous challenge program and save a copy of it.

Write a function that prompts the user to enter a student’s name and keeps prompting if they just pressed return.

Store both the valid name and valid exam mark in a class.

Alter your print procedure to be a class method and it should now print out the student’s name, mark and comment on a single line.

Report a Glow concern
Cookie policy  Privacy policy