Please assist to create menu function by using input() in Python.
the output is like attached image.
if input entered 1 the program keeps going for next question,
but if entered option 2 the program should return none.
the program I wrote below is only for input option "1"
but if entered option 2, I don't know how to stop the program.
Thanks.
-------------------------------------------------------------------
print('-'*75,'Student Report Menu Options','-'*75,\
'1. Report grade for a student','2. Quit',sep='\n')
x = input()
print('Please enter the student number: ')
y = input()
Extracted text: Student Report Menu Options 1. Report grade for a student 2. Quit 1 Please enter the student number: