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

I am working on 1.8.1. Here is my answer; I can't figure out why it isn't working. Suggestions? i = 1.0 while i < 11: print 1/i i = i + 1

OpenStudy (anonymous):

1.8.1 of what? what is it supposed to do?

OpenStudy (anonymous):

It turns out this answer was correct: The question was: Using a loop, write a program that prints out decimal equivalents of 1/2... 1/10. My computer was slow.

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!