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

This page removed for FERPA compliance
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Midterm Exam 1 Review Spring 2005: What gets printed

Post your answers, questions, comments, comments on answers, suggestions, suggestions on questions, etc.

Back to Spring2005 Midterm 1 Review



REMOVEDmestar Rocks
everybody
everybody
everybody
everybody
6
homestar rocks

REMOVEDmestar Rocks!
Everybody
Everybody
Everybody
Everybody
6
REMOVEDmestar Rocks!

how do you get 6?

yea i dont get where the 6 came from either?

The 6 came from decreasing value by 1 every time the for loop executes. Which is 4 times, that's also why you get Everybody four times. (the reason it executes 4 times is becaREMOVEDe it's range(1, 5) which is really saying "go through this loop 4 times")



Link to this Page