Get answer of your all questions and doubts! ➤

Question
What is an atom? What is an expression?

[Computer Science Class – 11 Sumita Arora solutions. Chapter 6 – Data Handling.]

Answer

Atom :- something that has a value.
Example – identifiers, list, tuples, strings, literals etc.

Expression :- an expression in Python is any valid combination of operators and atoms.
Example – x = 5+10
Here 5+10 is an expression.

Leave a Comment

Your email address will not be published. Required fields are marked *