Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 14 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!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
3 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
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!