0
Confused
Why we represent float before asking for input by user. I mean user_input = float(input("Enter a number")) Here why we use float before input in right hand side
2 Answers
+ 2
I don't quite understand your question. I'm guessing you mean why do we use them. We use them to represent very precise numbers such as decimals.