Write a method called doubleList that doubles the size of a list by appending a copy of

Question:

Write a method called doubleList that doubles the size of a list by appending a copy of the original sequence to the end of the list. For example, if the list stores [1, 8, 2, 7], your method should change it to store [1, 8, 2, 7, 1, 8, 2, 7].

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: