单项选择题

如果p=ord(‘a’),表达式print(p,chr((p+3)%26+ord(‘a’)))的结果是:()。

A.97d
B.97c
C.97x
D.97w
<上一题 目录 下一题>
热门 试题

单项选择题
以下选项中,不是建立字典的方式是()。
A.d={[1,2]:1,[3,4]:3}
B.d={(1,2):1,(3,4):3}
C.d={‘张三’:1,‘李四’:2}
D.d={1:[1,2],3:[3,4]}
单项选择题
关于Python整数类型,以下选项描述正确的是:()。

A.14不是整数类型的数值
B.oct(100)表达式结果获得十六进制数
C.hex(100)表达式结果获得八进制数

相关试题
  • The main idea of the story is tha...
  • When we dream,().
  • Which of the following is true?(...
  • Why do some people often dream abo...
  • If the patient is rational and pos...