Python-打印圣诞节图片

练习循环打印*时,一时脑洞大开,正好昨天是圣诞节,我们就来打印富有节日气息的图吧!(o゚▽゚)o 萌新代码请注意!先放图: 代码:x=1 y=3 while x<11: if x<10: print('{0:^9}'.format('*'*x),end='') if x==1: print('{0:>22}'.format('*')) elif x==3: print('{0:>24}'.form
相关文章
相关标签/搜索