文件名称:python_class
文件大小:3KB
文件格式:ZIP
更新时间:2024-04-06 12:27:42
python_class 3/17 rstrip공백이있을떄이있을떄이를제를보기 data = "039490 " data = data.rstrip() print(data) 拆分btc와krw로나눔 ticker = "btc_krw" ticker = ticker.split("_") print(ticker[0]) ticker = "btc_krw" ticker = ticker.split("_") print(ticker[1]) 拆分공백을준으준으준으준으준으 a = "hello world" a = a.split() print(a[0]) a = "hello world" a = a.split() print(a[1]) 大写메서드。앞대문자로변경 a = "hello" a = a.capitalize() print(a) 소문자
【文件预览】:
python_class-main
----README.md(7KB)