Home >Backend Development >Python Tutorial >Do you need basic English to learn python?
Many friends always worry about this problem when learning Python: My English level is not good and my vocabulary is not large. Can I learn it well? Does python require a basic knowledge of English? For everyone’s questions, let’s briefly talk about it below! This section is specially written for friends who don’t know English at all. They are basically at the elementary school and junior high school English level. Other friends, please skip this section.
Let’s first introduce the English meaning of the 33 keywords in Python, without involving any computer knowledge. It is not necessary to memorize all these contrasting relationships between Chinese and English. It is enough to have an impression. If you really don’t know how, you can also use Baidu Translate. The following 33 words are roughly arranged in order of importance. You only need to master the first seventeen keywords to write a lot of code, followed by some less commonly used keywords.
'if': if是'如果 ''else':else 是'否则'的意思 'elif':是else if的连写,两个词的意思见上 'False':代表'假的','错误的'意思,就比如 1>2 是假的,就用False表示 'True':代表'真的','正确的',和False正好相对 'def':是'define'的简写,代表'定义'
'and':代表与关系,是一种并列关系,和中文中的‘和’为一个意思 'not':代表否定的 'or':代表中的'或者',和 and同类词语 'for':是一个介词,代表为了... 例如'for you'就是'为了你','you' 是'你'的意思 'while':代表'当...时候 ''continue':是'继续'的意思 'break':是打破的意思
'is':代表中文里的'是' 'import':代表'导入、进口 'from':代表来自。。。 比如from china就是代表'我来自中国 'assert':代表'断言 'None':代表 '没有','空的' 'class':是班级、类别的意思,是个名词 'del':是delete的简写,delete是删除的意思。计算机键盘上都有del这个键
'try':代表'尝试' 'except':是'...除外'的意思 'finally':代表'最终' 'global':代表'全局的','全国的 ''as':是一个介词,代表‘作为’ 'in':‘在’的意思,in +一个地名就代表'在这个地方 ''lambda': 是一种表达式的名字 'nonlocal':'local'代表'局部的','nonlocal'代表非局部的 'pass':代表'通过',比如pass an exam,就是'通过一个考试' 'raise':代表'提升' 'return': 代表'返回', 'with':代表'和...一起' 'yield':代表'产生'
The above is the detailed content of Do you need basic English to learn python?. For more information, please follow other related articles on the PHP Chinese website!