vendredi 3 janvier 2020

Can someone help me in solving this question? [closed]

My assignment:

Write a python program:

The program should aim to do the following

Input/Store 10 (Mass) numbers

Identify the ‘category’ (1 –4) of the Mass (see table below), and increment one (of four) ‘counter’ variables

At the end of the program, a message should be printed (for each category) stating the Category type(1 –4), a comma, and the count of all the Masses (in each category). i.e. the output should be similar to “Category 1, 5”)

‘Mass’ Table : Category 1 - <70 , Category 2 - Between 70 and 84 , Category 3 - Between 85 and 100 , Category 4 - > 100

My code so far:

TBD

My question:

TBD

Aucun commentaire:

Enregistrer un commentaire