九九乘法表
for i in range(1, 10):
for j in range(1, i+1):
print(f"{j}*{i}={i*j}",end=' ')
print()
水仙花数
#1
for i in range(100,1000):
if((i//100)**3+(i//10%10)**3+(i%10)**3==i):
print(i)
#2简单的十位数取值方式不同
for i in range(100,1000):
if ((i//100)**3+(i%100//10)**3+(i%10)**3) == i:
print(i)