What will be the output of the following Python expression? [code]round(4.5676,2)?[/code]

Answer: c
Explanation: The function round is used to round off the given decimal number to the specified decimal places. In this case, the number should be rounded off to two decimal places. Hence the output will be 4.57.
 

Tìm kiếm

Back
Top