字符串.split()方法的功能是,去掉字符串两侧指定的字符。
A. 对
B. 错
a = "adbd",a.count('a')可以计算a中字符串"a"出现的次数。
A. 对
B. 错
titleText = 'The 12th International Conference on Genetic and Evolutionary Computing'print(titleText.capitalize()),运行结果为:THE 12TH INTERNATIONAL CONFERENCE ON GENETIC AND EVOLUTIONARY COMPUTING
A. 对
B. 错
userName = ' system admin 'print(userName.strip()),运行结果为:systemadmin
A. 对
B. 错