```python
import math
def quadratic_roots(a, b, c):
delta = b**2 - 4*a*c
if delta < 0:
return "无实根"
elif delta == 0:
x = -b / (2*a)
return x
else:
x1 = (-b + math.sqrt(delta)) / (2*a)
x2 = (-b - math.sqrt(delta)) / (2*a)
return x1, x2
a = float(input("请输入一元二次方程的系数 a: "))
b = float(input("请输入一元二次方程的系数 b: "))
c = float(input("请输入一元二次方程的系数 c: "))
result = quadratic_roots(a, b, c)
print("一元二次方程的根为:", result)
```