add parentheses around print statement as pointed out by @MadRabbitKiller