一起学计算机英语与编程:Python大数据基础教程1

今天的内容如下所示:

Python is a very simple language, and has a very straightforward[ˌstreɪtˈfɔ:wəd]syntax(直截了当的语法). Itencouragesprogrammerstoprogram without boilerplate([ˈbɔɪləpleɪt],样板文件; 公式化,陈词滥调)code. The simplest directive in Python is the "print" directive - it simply prints out a line (and also includes a newline, unlike in C).

There are two major Python versions, Python 2 and Python 3. Python 2 and 3 are quite different. This tutorial uses Python 3, because it more semantically([sɪ'mæntɪklɪ],语义上地)correct and supports newer features.

For example, one difference between Python 2 and 3 is the statement. In Python 2, the "print" statement is not a function, and therefore it is invoked([ɪnˈvəʊk],调用)without parentheses([pəˈrenθəsi:z],小括号). However, in Python 3, it is a function, and must be invoked with parentheses.

有用句型:

to encourage sb to do sth : 鼓励某人做某事

计算机专业词汇:

directive:计算机编程指令

statement:计算机编程中的语句

function:计算机编程中的函数

搭配:

to invoke a function 调用函数

to call a function 调用函数

注:boilerplate注意发音,视频中发音错误,具体音标请参考上文

具体视频如下所示:

  • 发表于:
  • 原文链接https://kuaibao.qq.com/s/20181213A1HAFU00?refer=cp_1026
  • 腾讯「云+社区」是腾讯内容开放平台帐号(企鹅号)传播渠道之一,根据《腾讯内容开放平台服务协议》转载发布内容。
  • 如有侵权,请联系 yunjia_community@tencent.com 删除。

扫码关注云+社区

领取腾讯云代金券