def calc(num): num2 = 5 num2 = num2*10+(num2+1)*(num-10) num2 = num2*10+(num2+num)*(num-10) num2 = num2*10+(num2+num*num)*(num-10) num2 = num2*10+(num2+num*num*num)*(num-10) num2 = num2*10 + (num2+num*num*num*num)*(num-10) num2 = (num2 + 16*num*num*num*num*num) num2 &=0xffffffff print(num2) calc...