CBSE Class 12 Computer Science Question 54 of 120

Review of Python Basics — Question 6

Back to all questions
6
Question

Question 6

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