``print`` like this is invalid Python 3 syntax. Better not use print at all, just ``>>> result``