1.

Which among the following is the correct representation of “float(5,0)”?(a) 12345.123(b) 12345.1(c) 12345(d) 123.123

Answer» The correct answer is (c) 12345

For explanation I would say: “float(5,0) says there should be total of five digit, in which no digit should be at the right of the decimal.


Discussion

No Comment Found