2. What is atom in context of expression ?
An atom is something that has a value. Identifiers, Literals, Strings, Lists, Tuples, Sets, Dictionaries etc. are all atoms.
2. What is atom in context of expression ? Read More »
An atom is something that has a value. Identifiers, Literals, Strings, Lists, Tuples, Sets, Dictionaries etc. are all atoms.
2. What is atom in context of expression ? Read More »
In a mixed mode expression, different types or variables/constants are converted to one same type. This process is called type conversion. Python does it by internally changing the data type of some operands so that all operands have same data type. This is implicit conversion. Explicit conversion can also be done in python. e.g. int(5.0),
4. What is type conversion (coercion) ? How does Python perform it ? Read More »