收起
缩进不对 改成这样
def main(): a = float(input("enter a number a:")) c = math.sqrt(a) print(c) main()
报告相同问题?