Computer Science, asked by shappymind, 9 months ago

what is a statement in python?​

Answers

Answered by Anonymous
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 Princess1234567
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