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

I am using IDLE and am a complete newbie. Is there some way to make the text wrap in the edit window without affecting how the code works?? It is very inconvenient to have enormously long text lines, and impossible to print the windows. Thanks.

OpenStudy (rbx):

You can break a line by typing \ at the end of it. This way ``` print("Hello \ world"); ``` is the same as ``` print("Hello world"); ```

OpenStudy (rbx):

Ah, I was astonished by my own answer. I just noticed that typing ; at the end of a statement in Python doesn't make a difference. (o_O)

OpenStudy (anonymous):

Thank you so much! This totally worked and solved my problem!! Or should I say Thank you so much!\ This totally worked and solved my problem!! Grin.

OpenStudy (rbx):

Cheers!

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!