Some of these questions are so confusing to read at a first. Here is an example to show what the hell they are talking about
first = [1,2,3,4]
print(first)
del first[:]
print(first)
del first
print(first)
output:
[1, 2, 3, 4]
[]
Traceback (most recent call last):
File "main.py", line 6, in <module>
print(first)
NameError: name 'first' is not defined
answer is B
B. yes, there is, the first line deletes the list as a whole, the second line just empties the list
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.
TheFivePips
11 months, 3 weeks agoArulkumar
1 year, 7 months agomacxsz
2 years, 7 months ago