Given that n refers to a positive int 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 <http://pearson.turingscraft.com/codelab/jsp/tutor.jsp?glIndex=1&lang=PYTHON 3> variables other than n , k , and total .
Hi, I am really a rookie at Python and I am just learning some of the language and some of the functions etc. I am using Pearson's Programming lab and the accompanying online book. The biggest problem that I am having is trying to figure out how to start off on problems such as the one above. I have been out of school for over 40 years and I am struggling, needless to say. I know this problem will be laughably easy for most of you, but do you have any suggestions as to how I need to look at a problem and to "identify" what exactly it is asking for, and how I can pick out the elements that I need to start with? Any and all help will be greatly appreciated. Thanks
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor