CBSE Class 12 Computer Science Question 59 of 105

Python Revision Tour — Question 13

Back to all questions
13
Question

Question 13

What is an expression and a statement?

Answer

An expression is any legal combination of symbols that represents a value. For example, 2.9, a + 5, (3 + 5) / 4.
A statement is a programming instruction that does something i.e. some action takes place. For example:
print("Hello")
a = 15
b = a - 10