学python-入门介绍
作者:互联网
介绍
*Python is a programming language that lets you work quickly and
integrate systems more effectively
Python是可以让你工作得更快并且更高效地集成系统的程序语言。
后面补充具体特性实例。
语言特性
1. Functions Defined 函数定义
The core of extensible programming is defining functions. Python
allows mandatory and optional arguments, keyword arguments, and even arbitrary argument lists
可拓展性的编程的核心是定义函数。Python允许强制参数、可变参数,关键字参数 ,甚至是任意参数列表。
2、Compound Data Types 复合数据类型
Lists (known as arrays in other languages) are one of the compound data types that Python understands. Lists can be indexed, sliced and manipulated with other built-in functions.
Lists (在其他语言中称为数组)是Python可以理解的复合数据类型之一。Lists可以在其他内置函数中被索引、切片和操作。
3、Intuitive Interpretation 计算简洁
Calculations are simple with Python, and expression syntax is
straightforward: the operators +, -, * and / work as expected;
parentheses () can be used for grouping.
Python的计算很简单,表达式语法也很简单
简单:操作员+、-、*和/或按预期工作;括号()可用于分组。
4、Quick & Easy to Learn 学习起来快且简单
Experienced programmers in any other language can pick up Python very
quickly, and beginners find the clean syntax and indentation structure
easy to learn. Whet your appetite with our Python 3 overview.
任何其他语言的经验丰富的程序员都能非常熟练地掌握Python
很快,初学者就能找到清晰的语法和缩进结构
容易学。通过我们的Python 3概述来激发您的食欲。
5、All the Flow You’d Expect 有你所期待的一切
Python knows the usual control flow statements that other languages
speak — if, for, while and range — with some of its own twists, of
course. More control flow tools in Python 3
Python知道其他语言所说的通常的控制流语句——if、for、while和range——当然也有自己的一些曲折之处。Python 3中的更多控制流工具
引用:
python官网
标签:入门,python,控制流,Lists,Python,other,参数,介绍,语言 来源: https://blog.csdn.net/qq_23842575/article/details/122557845