摘要:
''' str 与 repr ''' mystr='hello world!\n'#repr可以观察转义字符 print(str(mystr))#人可以看懂 #hello world! print(repr(mystr))#计算机看懂 #'hello world!\n' data=3/7 print(str(data))#一般的数据两者一样 #0.42857142857142855 p... 阅读全文
posted @ 2019-08-13 10:43
青春叛逆者
阅读(140)
评论(0)
推荐(0)
浙公网安备 33010602011771号