Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Summer2006 Midterm 1 Review: What gets printed

Questions?

Is this what would show?

Homestar Rocks!
Everybody
Everybody
Everybody
Everybody
10
Homestar Rocks!

Your 'value' is not right. It shouldn't be 10 since you're decreasing it everytime in the loop. Run the code in JES after you've worked it out again. - Bobby Mathew

Homestar Rocks!
Everybody
Everybody
Everybody
Everybody
6
Homestar Rocks!

That's right! since value decreases by 1 each time it goes through the 'for' loop - Bobby Mathew



Link to this Page