-1

I'm just trying to have a .py open and print on black console this quotation. Is input () the same as system("PAUSE") in C++?

print(“Quote: If people do not believe that mathematics is simple, it's")
print("       only because they do not realize how complicated life is.”)
print("By: John von Neumann")
input()

Thanks I'm really trying to get this to work!

Here is output:

Python 3.2.3 (default, Apr 11 2012, 07:15:24) [MSC v.1500 32 bit (Intel)]
Type "help", "copyright", "credits" or "license" for more information.
[evaluate untitled-1.py]
Traceback (most recent call last):
  File "None", line 4, in <module>
Syntax Error: print (“Quote: If people do not believe that mathematics is simple, it's): None, line 415
4

1 回答 1

2
于 2012-09-17T02:54:09.493 回答