单选题:(样卷)下面定义字典的语句那个是正确的?
(样卷)下面定义字典的语句那个是正确的?
@[A](2)
A. momthdays=dict(Jan=31,Feb=28,Mar=31,Apr=30)
B. momthdays=dict("Jan"=31,"Feb"=28,"Mar"=31,“Apr"=30)
C. momthdays={Jan:31,Feb:28,Mar:31,Apr:30}
D. momthdays={Jan=31,Feb=28,Mar=31,Apr=30}
A.momthdays=dict(Jan=31,Feb=28,Mar=31,Apr=30)
B.momthdays=dict("Jan"=31,"Feb"=28,"Mar"=31,“Apr"=30)
C.momthdays={Jan:31,Feb:28,Mar:31,Apr:30}
D.momthdays={Jan=31,Feb=28,Mar=31,Apr=30}
答案:A
@[A](2)
A. momthdays=dict(Jan=31,Feb=28,Mar=31,Apr=30)
B. momthdays=dict("Jan"=31,"Feb"=28,"Mar"=31,“Apr"=30)
C. momthdays={Jan:31,Feb:28,Mar:31,Apr:30}
D. momthdays={Jan=31,Feb=28,Mar=31,Apr=30}
A.momthdays=dict(Jan=31,Feb=28,Mar=31,Apr=30)
B.momthdays=dict("Jan"=31,"Feb"=28,"Mar"=31,“Apr"=30)
C.momthdays={Jan:31,Feb:28,Mar:31,Apr:30}
D.momthdays={Jan=31,Feb=28,Mar=31,Apr=30}
答案:A