Coder Social home page Coder Social logo

113.md 问题 about starterlearningpython HOT 1 CLOSED

qiwsir avatar qiwsir commented on June 23, 2024
113.md 问题

from starterlearningpython.

Comments (1)

qiwsir avatar qiwsir commented on June 23, 2024

你好。非常感谢。

我在这里的确犯错误了。list不是保留字。

但是,因为是python默认的类型,所以,在命名变量名称的时候,也不要使用。

在 2016年5月19日 下午4:27,sunsulei [email protected]写道:

齐老师好:
113.md里对于
仔细观察,变量的名字lst,不是list,不能用list作为变量名字。因为list是Python的保留字。
// 在我import keyword后 'list' in keyword.kwlist 得到的是False
。而且也并没有在keyword.kwlist里看到list。所以list并不是Python的关键字。

祝好!


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#106

QiWei

from starterlearningpython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.