Python Nested For Loop Only Runs Once, The loop runs only once respective of the number the user enters.