Question 26
After the user enters an integer n, the code is supposed to print out a list of integers from 1 to n inclusively.
e.g., if the user inputs 10, the code should print:
Complete the code below by filling in the blank. [5 marks]
After the user enters an integer n, the code is supposed to print out a list of integers from 1 to n inclusively.
e.g., if the user inputs 10, the code should print:
Complete the code below by filling in the blank. [5 marks]