The number of students

Report a typo

We wrote a simple program that deals with the total number of students in the class and does calculations with it. This number is stored in the variable n. In the code, it is declared as follows:

n = 10  # stores the number of students in the class

What would be a better way of declaring this variable? And do we need the comment in this case? Choose the best option.

Select one option from the list
___

Create a free account to access the full topic