What is meant by a floating-point literal in Python ? How many ways can a floating literal be represented into ?
Floating point literals are numbers with a fractional part. They can be represented with either fractional form or exponent form.
Floating point literals are numbers with a fractional part. They can be represented with either fractional form or exponent form.
Text enclosed in quotes are called string literals in python. We can create a string literal by using either single quotes or double quotes and there isn’t much difference in them