The correct answer is:
C. nums and vals have the same length
Explanation: When vals is assigned to nums, both vals and nums refer to the same list in memory. The del vals[:] operation deletes all elements from the list that both vals and nums reference. Therefore, after this operation, both vals and nums are empty lists, and thus have the same length (which is 0).
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
hovnival
1 month, 1 week agochristostz03
5 months, 2 weeks ago