>>>print(“爱\t生活\t爱\tPython”)的输出结果为( )
A. 爱生活爱Python
B. 爱 生活 爱 Python
C. 爱\t生活\t爱\tPython
D. 爱 生活 爱 Python
查看答案
>>>hex(255) >>>oct(-255)各自的输出结果为( )
A. ‘255’‘-255’
B. ’ff’ ‘377’
C. ’0xff’
D. ’-0o377
下列表达式错误的是( )
A. ’abcd’
B. ’abc’
C. ”
D. ’Hello’>’hello’
pow(x,y)函数是Python语言的一个内置函数,用来计算x*y。( )
math库是Python提供的内置数学类函数库,math中的函数可以直接使用。( )