New course! Every coder should learn Generative AI!
Try a free lesson0
can anyone help how to find the approximate value of a number.... in python
4 Answers
+ 1
Do you mean rounding a float?
Can you give an example?
+ 1
x = 2.13
y = round(x)
+ 1
thank you Lisa
0
yes