what is a statement in python?
Answers
Answered by
8
Answer:
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.
FOLLOW ME!
Answered by
3
Ello ✌️
A statement is a complete line of code that performs some action, while an expression is any section of the code that evaluates to a value. That print is a statement is one of many warts in the Python 2 language that's corrected in Python 3. Now print is a normal function that can be used in an expression.
hope it helps....❤️
#Follow Mee ☺️❤️
Similar questions
Hindi,
5 months ago
Social Sciences,
5 months ago
English,
11 months ago
Math,
1 year ago
Science,
1 year ago
Social Sciences,
1 year ago