How do you type multiple lines of code into IDLE? My Python environment does not look like the one projected in the lectures. I am on a Mac platform running python build 2.7.3
MIT 6.00 Intro Computer Science (OCW)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
As long as you loaded Idle and not the command interpreter, you will be in the 'Shell', just go to 'File', 'New Window' and that will open the 'Editor' where you can write lines and save them to a file.
If you're using the built in Python, Idle can be a real pain to find. Search for it in Spotlight.
On most distributions, if you do not have an Idle icon, you can find an idle.bat file or similar under some combination of Lib\idelib under your python directory.
Not the answer you are looking for? Search for more explanations.
You can type multiple lines of code using the OSX IDLE, just type it directly line by line and it knows that its multi-line. You exit by sending a blank line, also if you scroll up and press enter on multi-line code it will retype out for you automatically, allowing you to quickly edit it.
I'd highly recommend reading the IDLE guide at https://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/index.html
@inicloud if u r doing the 6.00x course (of EdX) then u should probable download and install the python version given on the site.might work better for u:).
this is the link to it. follow the instruction given in problem set 1.