Quote Originally Posted by jacksparrow View Post
Hi
i did write a print function which the user put a number and then it will print out till that number
No you didn't. You wrote a function that prints one number and then returns.

All you did was call this function n times. That does not satisfy the requirement of your assignment:
write a function named print_out that print all the whole numbers from 1 to n.
The entire function must do this work.

Regards,

Paul McKenzie