#unit 2 worksheet 2 sum of cubes for i in range (101,1000): hundreds = i //100 units = i % 10 j = i //10 tens = j % 10 sumOfCubes = hundreds **3 + tens ** 3 + units ** 3 if i ==sumOfCubes: print("number is ", sumOfCubes)