Computer Science

What is an atom in Python? What is an expression?

Python Data Handling

19 Likes

Answer

In Python, an atom is something that has a value. Identifiers, literals, strings, lists, tuples, sets, dictionaries, etc. are all atoms. An expression in Python, is any valid combination of operators and atoms. It is composed of one or more operations.

Answered By

13 Likes


Related Questions