Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

num = 10 while num > 3: num -= 1 print(num) I don't get why this one prints out down to 3. I would have thought it would have to be >=?

OpenStudy (anonymous):

I just tried with other lower numbers, like 2.9 (I get why it shows 2) and then 1 and it goes 9, 8 , 7, 6, 5, 4, 3, 2, 1, 0 :(

OpenStudy (anonymous):

I'm being another muppet and not reading the code. Sorry to bother you all. I have a sore throat and have not had much sleep. I'll be better in a few days :)

OpenStudy (anonymous):

worked for me

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!