import mathr = float(input('Please input the radius of circle:'))def circlearea(r): if isinstance(r, float): return math.pi * r ** 2 else: return -1