ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
字符串操作 === py就是台灵活了,比如str操作你为什么 直接这样, ~~~ a = 1 b = 2 print(a + b) msg = ' hello world ' print(msg.upper()) print(msg.lower()) print(msg.title()) print(msg.strip()) print(msg.lstrip()) print(msg.rstrip()) >>> 3 HELLO WORLD hello world Hello World hello world hello world hello world ~~~