Python Code Challenge

65 - Write a program that prompts the user for a number and then calculates the sum of all numbers from 1 to that number using a while loop.