0

How can i prompt user to input elements of a list in python and use the input to code?

the user input marks of ten students then the code categorises then in various grades.

2nd Mar 2018, 10:22 AM
shah
1 Antwort
0
you can always set a variable to the input and split it to get an array with all the marks eg. grades = intput('enter grades').split()
2nd Mar 2018, 10:28 AM
Obbu
Obbu - avatar