Multiple statements found while compiling a single statement [duplicate]
问题 This question already has answers here : SyntaxError: multiple statements found while compiling a single statement (2 answers) Closed last year . I am brand new to programming. I am using the Dive into Python book and am trying to run the first example, humansize.py. I have copied and pasted the code into Idle, the Python shell and keep coming up with the same syntax error: "multiple statements found while compiling a single statement." I am downloading the code into BBEdit and then copying