- Python Statement. Instructions that a Python interpreter can execute are called statements.
- For example, a = 1 is an assignment statement.
- if statement, for statement, while statement, etc. are other kinds of statements which will be discussed later.
- به هر چیز یا هر قسمت قابل اجرا اصطلاحا statement گفته میشود.
- به عنوان کدهای زیر درون محیط کنسول همگی نوعی statement حساب میشوند چرا که قابل اجرا هستند و خروجی خطایی ندارند.
>>> x = 1
>>> print ('salam') salam
- بررسی شده در پایتون نسخه ۳