金融量化AI研究--Claude, Python

这里用来记录一些本人运用Claude编程的心得或笔记

导航

2021年5月11日 #

python的基础操作

摘要: #字符串操作 ##查询 Python判断字符串是否为字母或者数字 str_1 = "123" str_2 = "Abc" str_3 = "123Abc" #用isdigit函数判断是否数字 print(str_1.isdigit()) 结果:Ture print(str_2.isdigit()) 阅读全文

posted @ 2021-05-11 14:41 chengjon 阅读(151) 评论(0) 推荐(0)