-- 数学力练习 -- Use this function to perform your initial setup function setup() print("Hello World!") for i= 100,999 do a =math.floor(i/100) b=math.floor((i-a*100)/10) c=i-a*100-b*10 if i == a*a*a+b*b*b+c*c*c then print(i) end end end -- This function gets called once every frame function draw() -- This sets a dark background color background(40, 40, 50) -- This sets the line thickness strokeWidth(5) -- Do your drawing here end