Error in python basics robot not moving

i was told to make another form , kindly check the new one. thanks