HELP, how to make a system of notes to be averaged, but that the user enters the number of notes to be averaged and can enter them until reaching the amount and add them and then divide them by the amount to get the average.
The idea of the program is that the user enters the number of numbers to be averaged and then the user can enter the numerical data until reaching the amount entered.
I want to validate so that the numbers entered do not exceed the number of numbers the user can enter
The idea of the program is that the user enters the number of numbers to be averaged and then enters the numbers after displaying the averaging result on the screen.
EXAMPLE
quantity: 3
Numbers I want to enter: 7,1,5 and I cannot enter any other number
because when I try to replicate your code in my project it generates this error: Cannot parse text argument to "list from csv row" as CSV-formatted row