对于字符串 s = "python is fun",以下关于字符串操作描述错误的是?( )
A. print(s.upper() )结果为 "PYTHON IS FUN"
B. print( s.title()) 结果为 "Python Is Fun"
C. print(s.replace('fun', 'ok')) 结果为 "python is ok"
D. print( s.title()) 结果为 "Python is fun"
正确答案:D
试卷来源:202606 青少年软件编程等级考试Python五级真题