下面代码的输出结果是a=123456789b="*"print("{0:{2}>{1},}\n{0:{2}^{1},}\n{0:{2}<{1},}".format(a,20,b))
A. *********123,456,789****1233,456,789*****123,456,789*********
B. ****123,456,789**************123,456,789123,456,789*********
C. ****123,456,789*****123,456,789******************123,456,789
D. *********123,456,789123,456,789*************123,456,789*****
下面的代码的输出结果是>>>x="Happy Birthday to you!">>>x*3
A. 系统报错
B. 'Happy Birthday to you! Happy Birthday to day!Happy Birthday to you!'
C. Happy Birthday to you!Happy Birthday to day!Happy Birthday to you!
D. Happy Birthday to you!
给出如下代码:for i in range(12):print(chr(ord("♈")+i,end=" ")以下选项中描述错误的是:
A. ord("♈")返回"♈"字符对应的Unicode编码
B. 输出结果为♈♉♊♋♌♍♎♏♐♑♒♓
C. chr(x)函数返回Unicode编码对应的字符
D. 系统报错