题目内容

以下对于字符串的相关操作,正确的输出结果是哪些选项()

A. >>> ‘Life is short, you need Python.’.find(‘you’)
B. 15
C. B.>>> seq = [1, 2, 3, 4];sep = ‘+’;
D. sep.join(seq)
E. ‘1+2+3+4’
F. C.>>> print(‘{:5.3f}’.format(math.pi))
G. 3.1416
H. D.>>> print(‘you’ in ‘Life is short, you need Python.’)
I. True

查看答案
更多问题

物联网的英文名称为()

A. Internet of Things
B. RFID(Radio Frequency Identification)
CPS(Cyber Physical System)
D. WSN(Wireless Sensor Network)

#includeusing namespace std;int main(){char p=0; p=’a’; cout<<“The value at p:”<<p; return 0;} 编译运行程序将出现的情况是()

A. 运行时出错
B. 编译时出现语法错误,不能生成可执行文件
C. 运行时一定输出:The value at p:a
D. 运行时一定输出:The value at p:a

If a bond pays interest semiannually, then it pays interest()

A. once per year
B. every six months
C. every three months
D. every two years

Generally, a bond can be valued as a package of()

A. annuity and perpetuity only
B. perpetuity and single payment only
C. annuity and single payment only
D. annuity, perpetuity, and single payment

答案查题题库