num = 4sun1 = 1kong = [" "]hao = ["@"]a = [] # 小列表while num >= 0: a = kong * num + hao * sun1 + kong * num num -= 1 sun1 += 2 print(a)
原文地址:https://www.cnblogs.com/liyaobin/p/9968605.html
时间: 2024-11-05 19:36:52
num = 4sun1 = 1kong = [" "]hao = ["@"]a = [] # 小列表while num >= 0: a = kong * num + hao * sun1 + kong * num num -= 1 sun1 += 2 print(a)
原文地址:https://www.cnblogs.com/liyaobin/p/9968605.html