Well, when I copyied your little prog and ran it in my python it worked fine. Take your time with your programs.