try: f = hamster + 2 except: print "Error"