Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- def main(n):
- print("This program will sum a series of numbers.")
- sum = 0
- n = input(eval("How many numbers do you want to enter? ")
- for int in range(n):
- sum = sum + num
- print(sum)
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement