Create a generic function print(ls, n) that prints to standard output the first n elements of list ls. The elements are printed on separate lines. If ls has less than n elements, then the entire list is printed.
I attached a picture of what I have so far. I'm having a hard time figuring out how I would make it print a certain number of elements that I specify.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here