5. How are floating constants represented in Python ? Give examples to support your answer.
Floating constants are represented using the decimal point or using exponential form. e.g. 7.5, 732E-5
Floating constants are represented using the decimal point or using exponential form. e.g. 7.5, 732E-5
Keywords are words reserved for special purposes in a programming language, e.g. del, while, for etc. Whereas, Identifiers are names given to variables, classes, functions etc. e.g. ‘balance’, ‘Vehicle’, ‘add’ etc. A keyword can’t be chosen as an identifier.
2. How are keywords different from identifiers ? Read More »