python一元二次方程解
摘要:python一元二次方程解 import math def quadratic(a,b, c): jie=() if a == 0: print("a为分母,不能为0") elif (b ** 2 - 4 * a * c) < 0: jie=("无解") return (jie) print("x无
阅读全文
posted @ 2018-07-17 13:53
posted @ 2018-07-17 13:53
Powered by:
博客园
Copyright © 2025 BillBie
Powered by .NET 9.0 on Kubernetes