1.
Write code for the function
printFirst
. It should print the first numberItems
from list
with one item appearing on each line.
Hint: You will want to use an index-based loop (
for i in range( ________ )
) to do the iteration.
The tests for your code will check the output - make sure not to print anything extra or remove anything from the main program.