PPA-1
Question
Accept a positive integer \(n\) as input and print the list of first \(n\) positive integers as output.
Hint
There are two ways of growing a list:
append
method- list concatenation
If you want a list of the first \(n\) positive integers, then you need to use a loop.
Solutions
Be careful to initialize L
as the empty list before you begin populating it.