Suppose number contains integer value 4, which of the following statem

Loading

โœช Choose the correct option.

Suppose number contains integer value 4, which of the following statement is correct?

A. print(format(number, “2d”), format(number ** 1.5, “4d”))
B. print(format(number, “2d”), format(number ** 1.5, “4.2d”))
C. print(format(number, “2d”), format(number ** 1.5, “4.2f”))
D. print(format(number, “2f”), format(number ** 1.5, “4.2f”))

Leave a Comment