摘要:
加号用于连接字符串 "hello"+"goodbey"ans = "hellogoodbey" 方括号也用于连接字符>> ['hello','goodbey']ans = 'hellogoodbey' strcat() 用于捏合字符,字符串,但是char类型空格不加入,string类型空格会加入>> 阅读全文
posted @ 2022-04-25 21:58
无敌小金刚
阅读(3052)
评论(0)
推荐(0)
摘要:
1.class():测试变量类型 Apple_char='Apple'Apple_char = 'Apple'>> class(Apple_char)ans = 'char'>> Apple_string="Appple"Apple_string = "Appple">> class(Apple_s 阅读全文
posted @ 2022-04-25 20:47
无敌小金刚
阅读(651)
评论(0)
推荐(0)

浙公网安备 33010602011771号