fork download
  1. print(sum(sum(map(int, (c for c in str(x)))) == sum(map(int, (c for c in str(y)))) for x in range(100, 1000) for y in range(0, 1000)))# your code goes here
Success #stdin #stdout 4.94s 9984KB
stdin
Standard input is empty
stdout
50412