Discuss / Python / 交作业!

交作业!

Topic source

单身旺2016

#1 Created at ... [Delete] [Delete and Lock User]

import math def quadratic(a, b, c): d = be2 - 4 a c if d == 0: print('此方程无解!') else: return (- b + math.sqrt(d)) / 2 a, (- b - math.sqrt(d)) / 2 a

谁能交个正确的作业,我看看错在那!


  • 1

Reply