129k views
0 votes
_____ returns the smallest integer greater than or equal to 7.3

Assume you have already entered the following line.

from math import

ceil(7.3)
floor(7.3)
larger(7.3)
round(7.3)

User Kihu
by
3.2k points

1 Answer

1 vote

Answer:

Step-by-step explanation:

Required

Which returns smallest integer greater than or equal to 7.3

i.e.


x \le 7.3

When executed, the result of each instruction is:


ceil(7.3) = 8 -- This returns the smallest integer greater than 7.3


floor(7.3) = 7 --- This returns the smallest integer less than 7.3


larger(7.3) --- there is no such thing as larger() in python


round(7.3) = 7 --- This rounds 7.3 to the nearest integer

From the above result,

8 is the smallest integer greater than or equal to 7.3

i.e.


8 \ge 7.3

Hence:


ceil(7.3) is correct

User Turgos
by
3.6k points