In IDLE, say i want to write the following in TWO lines:
x = 3 print x**5
but when i type x = 3 and press enter, it executes the assignment. H
Just open a new file: File > New window. You can run it by clicking run > run module.