Looping N times

It's easy to confuse the value of the index (counting) variable and the number of times the loop is going to repeat.

Write a program looping_n_times.py that has the user enter a value n that is the number of times the loop is going to repeat. Use a counter variable that starts at 0 to keep track of the loop's count. Print the value of the counter variable everytime the loop repeats. Once the loop is done, print out how many total times the loop repeated.