阅读下面一段程序: words = "Hello,Python" result = words.capitalize() result_another = words.title() print(result) print(result_another) 运行程序,最终输出的结果为(
A. hello,Python,Hello,Python
B. hello,python,hello,python
C. Hello,python,Hello,Python
D. Hello,python,hello,python。
查看答案
下列数据中,不属于字符串的是( )。p78
A. ‘ab’
B. ‘‘‘perfect’’’
C. ”52wo”
D. abc
下列格式化符号中,用来表示浮点实数的是( )。p86-87
A. %c
B. %s
C. %f
D. %d 判断题
空集合只能用set()函数创建。( )
A. 对
B. 错