1、1导入 cmath 模块
2、2测试输入,a,b,c
3、3根的判别式
4、4两种求解方式
5、5输出结果为
6、6使用了 cmath (complex math) 模块的 sqrt() 方法 来计算平方根。