The print built-in function is normally called on a line of its own. It is a normal function, so it uses standard function-call syntax. It provides special operation modes with keyword arguments and supports future enhancements better.
Category Archives: Python 101
004 – Python Expression Statements
Expressions ca be used as statements, on a line by itself. In this case the result of the expression won’t be saved, so, expressions are commonly used as statements in two situations:
003 – Python Assignment Statements
In its basic form an assignment statement is made of an equal sign =
with the target of an assignment on the left and the object to be assigned on the right.
002 – Python installation and first program
I am a Linux user and Python is installed in all Linux distributions. As I know, it is installed on Mac computers as well. Some of the Windows laptops come with Python installed. First, you have to check if you have Python installed. Open the terminal and run the command python3
.
001 – Python Introduction
Python is a general purpose programming language. It was created in 1990 by Guido Van Rossum. Python code is considered to be very readable with fewer syntactical restriction, and implicit errors, than other similar programming languages. Python allows programmers to express concepts easily and quickly, and in fewer lines of code than they would have to use in other programming languages such as C++ or Java.