编写程序,输出各位数字之和等于14的所有3位数。help,这是我们的Python homework😭
for i in range(100,1000): a=i//100 b=i//10%10 c=i%10 if a+b+c==14: print(i)