摘要: 方法1:全部打印语句 print('*') print('**') print('***') print('****') 方法2:简单使用循环 for i in range(5): print('*'*i) 方法3:循环嵌套同时输出函数设置 for i in range(5): for b in r 阅读全文
posted @ 2020-02-22 18:13 MARK_REAPER 阅读(3862) 评论(0) 推荐(1) 编辑
摘要: # encoding: utf-8 ''' @author: mark @file: 20200214.py @time: 2020/2/14 14:21 @software: PyCharm ''' ''' #初始学习python print("hello word") #打印hello word 阅读全文
posted @ 2020-02-22 18:06 MARK_REAPER 阅读(707) 评论(0) 推荐(1) 编辑