Hyeockz:bin hyeockjinkim$ ./gpython
Python 3.4.0 (none, unknown)
[Gpython dev]
- os/arch: darwin/amd64
- go version: go1.11.4
>>> #
...
...
...
...
...
...
In python shell, #, ... is printed until input is received.
Since # is single-line comment, ... should be printed only once in shell.
The output in python3 is:
Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> #
...
>>>
Hyeockz:bin hyeockjinkim$ ./gpython Python 3.4.0 (none, unknown) [Gpython dev] - os/arch: darwin/amd64 - go version: go1.11.4 >>> # ... ... ... ... ... ...In python shell,
#,...is printed until input is received.Since
#is single-line comment,...should be printed only once in shell.The output in python3 is: