标签:com end 括号 python inpu ima pytho input shc
team = input("请输入一个整数:")
num = int(team)
while num:
i = num -1
while i:
print(‘ ‘,end=‘‘) #注意括号里面的 ‘‘ 要加个空格哦
i = i- 1
j = num
while j:
print(‘*‘,end=‘‘)
j = j-1
print()
num =num-1
team = input("请输入一个整数:")
num = int(team)
i = 1
while num>=1:
print(i)
i +=1
num -=1
标签:com end 括号 python inpu ima pytho input shc
原文地址:http://www.cnblogs.com/ouwen/p/7203248.html