Can I have a trailing dot at the end of a number?

82 Views Asked by At

Is 12. a valid way to say 12.0

I was trying it with python. If I say a = 12., python will treat a as 12.0. So I was wondering if it is a valid way to represent a floating point number?