在python中追加错误

han*_*ugm 1 python list julia

我正在使用JuliaBox在python 2中运行python代码.

我的代码如下:

l=[]

l.append(5)
Run Code Online (Sandbox Code Playgroud)

以下是我得到的错误:

type Array没有字段追加

但是我已经append在python文档中使用了它.https://docs.python.org/2.6/tutorial/datastructures.html

我哪里做错了?

在此输入图像描述

tho*_*dic 11

您正在使用Julia而不是Python:

在此输入图像描述