Hey everyone, it's me. Again. And, as usual, I am an idiot and can't figure out how to write this code. Help me please?
Okay so I'm writing this code where the user will input the amount of numbers they'd be inputting plus all the numbers, and the code will add all the numbers. The amount of numbers can vary. So, I wrote this:
N = int(input())
for i in range(N):
y = (i ** 3)
total = sum(y)
This, however, will not work. Can someone please look at this?? Thank you.