You've learned in the past lessons on how to use square root functions, right? Then let's take your knowledge to the test. Print out the square root of a given integer with only two decimal places.
print('{:.2f}'.format(round(float(input()) ** 0.5, 2)))
Comments
Leave a comment