Computer Science, asked by yadavaashi097, 8 months ago

find output (i) math. ceil(-2.3)​

Answers

Answered by allysia
1

Answer:

2

Explanation:

Here in the code you have to first import the maths module,

It goes like:

import maths

Now ceil is a method of math module it does the job of returning the closest greater integer to the argument (-2.3 here) entered.

Since the number entered it negative the greater closer number to it will be towards 0 which here is -2.

Just for the sake of your satisfaction I'm attaching a image where I ran the code.

Attachments:
Similar questions