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

I use anaconda to implement my python code for the ps 12, 2008. However, for problem 4, the resistant virus population number behavior quite strangely: oscillating between 0 and a large number. I could not understand that happen. Did anyone have similar problems?What's the possible cause?

OpenStudy (rsmith6559):

If it's alternating between the two, your math logic is wrong. If it's cycling, going to zero and restarting, your programming logic is wrong. If there's a relationship between the low and the high number, like they add up to the total, somewhere a couple of variables are being switched. Oscillating isn't a useful term to me, and without code, I can't do any better.

OpenStudy (anonymous):

I just have started to program using anaconda but I am facing a problem that in IDLE if we put a comma (,) in the end of a print statement it didn't reach the new line but the same is not applicable on anaconda can you please tell me what to do..Thanq

OpenStudy (rsmith6559):

print "Another" + ' ' + "way" + ' ' + " of " + "concatenating " + "strings is to use" + " the + operator."

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!