10 Answers
New AnswerHi Bharathi, Python is case sensitive means you can say that 'Print' and 'print' are two different things, because of Capital letters. So, Print() is not the right function, it's print() with small 'p' Happy Learning 🙂
In print keyword you must use small alphabet p not capital letter..That is print(float(5.3))
x=float(input()) print(x) #if input is not a number then it raise error, otherwise fine.
The 'print' builtin is case sensitive. Also converting a type of float to float is uneeded since its already of that type unless being read from an input() type conversion is necessary.
print must be in small letter that's why your code give you error, Try this print(float(5.3))
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message