单选题

运行下面程序,输出的结果是(    )。

dic = {"dog": 1, "tiger": 2, "bear": 3, "cat": 4}
print(dic.get('dog'))
A

1

B

2

C

3

D

4

赣ICP备20007335号-2