Gce Model Questions Vol1 2020 Computer Studies Question 47
Practice objective / multiple choice question 47 from the 2020 Gce Model Questions Vol1 Computer Studies examination.
Consider the following Python code:\n\n```python\ndef append_to(element, to=[]):\n to.append(element)\n return to\n\nlist1 = append_to(1)\nlist2 = append_to(2, [])\nlist3 = append_to(3)\n\nprint(len(list1), len(list2), len(list3))\n```\nWhat is the output printed by the program?
Answer Options
About This Question
This is Gce Model Questions Vol1 2020 Computer Studies Question 47. It is one of the objective questions from the 2020 Gce Model Questions Vol1 Computer Studies examination.
Difficulty level: Medium .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.