The title does not have any input.Output Description:
Please output all values of a, B, and C that meet the conditions of the problem. A, B, and C are separated by a space. Each output occupies one row.
Temp=[[a,b,c]for A in range (ten) for B in range (ten) for C in range (ten) if a*100+b*10+c+b*100+c*10+c==532] #枚举列表得到需要的值
For S in temp:
For J in S:
Print (j,end= ') #输出
Set A, B, C are 0 to 9 of the number, ABC, BCC is two three-digit, and has: abc+bcc=532. All values A, B, and C that satisfy the condition.