摘要:
import keywordprint(keyword.kwlist)# ['False', 'None', 'True', 'and', 'as', 'assert', 'async', 'await', 'break',# 'class', 'continue', 'def', 'del', ' 阅读全文
posted @ 2020-07-08 16:02
Ric_A
阅读(387)
评论(0)
推荐(0)
摘要:
__author__ = 'maioge'i = 1# while i <= 5 :# print('miaoge')# i += 1# while i <= 5 :# if i<=3 :# print('miaoge')# i+=1# continue# break# while i <= 5 : 阅读全文
posted @ 2020-07-08 16:01
Ric_A
阅读(93)
评论(0)
推荐(0)
摘要:
# 格式化字符串含义# | %s | 字符串 |# | %d | 有符号十进制整数,`%06d` 表示输出的整数显示位数,不足的地方使用 `0` 补全 |# | %f | 浮点数,`%.2f` 表示小数点后只显示两位 |# | %% | 输出 `%` |name = '小明'age = 19PI=3 阅读全文
posted @ 2020-07-08 16:00
Ric_A
阅读(76)
评论(0)
推荐(0)
摘要:
函数,# ['__add__', '__class__', '__contains__'# , '__delattr__', '__dir__', '__doc__',# '__eq__', '__format__', '__ge__',# '__getattribute__', '__getite 阅读全文
posted @ 2020-07-08 15:58
Ric_A
阅读(82)
评论(0)
推荐(0)
浙公网安备 33010602011771号