Question: this is python question. pls use simple solution. i am starter. cheers Write a function called read number list) that reads a series of numbers
Write a function called read number list) that reads a series of numbers from standard input and returns a list containing those numbers. A sentinel value of -999 will indicate the end of the input values. Do not include the sentinel value in the list. A student who completes this exercise should be able to . Write a program that uses a while leop . Process input that uses a sentinel value to indicate the end of input For example: Test Input Result print (read_ number list)) 999 [1 print(read number list()) 1 [1, 2, 31 2 -999 Answer (penalty regime: 0.10, 20, 30, 40, 50 %) 1 def read number list): 2 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
