代码示例:(标识:python_string_strip)
python_string_strip.py
a = " Hello, World! "
print(a.strip())
运行结果: