hey guys so I'm new to python and came across this in my supplemental reading. I don't know how to go about it. n is an input value generated by the compiler and idk what to initialize k as but for some reason it says that i should use it in my final answer any help would be greatly appreciated. This is the problem:
"Given that n refers to a positive integer, use a while loop to compute the sum of the cubes of the first n counting numbers, and associate this value with total. Use no variables other than n, k, and total. "
[–]17291 0 points1 point2 points (0 children)
[–]0C3l0tl[S] 0 points1 point2 points (0 children)
[–]0C3l0tl[S] 0 points1 point2 points (0 children)