Steven gave you a lot of good advice. Let me add just one remark. Python already has a builtin function called "input." If you define a variable with the same name as a builtin and then you try to use that builtin, you will be in for a (usually unpleasant) surprise.