题目详情
单选题 字符串s="hello world",若要将其中的空格去掉,应使用的代码是( )
A. lstrip()
B. rstrip()
C. strip()
D. replace(" ","")
学科:python程序设计
时间:2025-10-29 08:03:44
相关题目
相关作业