#2题
import math
x=int(input("请输入一个整数:"))
y=math.sqrt(x)
print("平方根是:%.2f"%(y))
#3题
from math import*
c=int(input("输入斜边:"))
b=int(input("输入斜边:"))
a=sqrt(c**2-b**2)
print("另一直角边:",a," 周长:",a+b+c," 面积:",a*b/2)
#4题
a=float(input("输入成绩1:"))
b=float(input("输入成绩2:"))
c=float(input("输入成绩3:"))
print("平均:",(a+b+c)/3)
#5题
t=float(input("输入摄氏温度:"))
T=9/5*t+32
print(T)