the problem is that your def saying just already prints something and if you try to print that , then its none because print ain't a variable typ i guess.And print without the brackets cause your are proberly using 2.7 or so..