The correct snippet to convert the tuple `t` to a dictionary named `d` is:
B. `d = dict(t)`
So the full code will be:
t = (('A', 1), ('B', 2), ('C', 3))
d = dict(t)
print(d)
The expected output will be:
{'A': 1, 'B': 2, 'C': 3}
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
3 months, 3 weeks agochristostz03
8 months ago