Pass--
Topic source-- coding: utf-8 --
import math
def quadratic(a, b, c): if b b - 4 a * c < 0: print('no real root') else:
x=(-b + math.sqrt( b * b - 4 * a * c )) / 2 / a
y=(-b - math.sqrt( b * b - 4 * a * c )) / 2 / a
return x, y
- 1
import math
def quadratic(a, b, c): if b b - 4 a * c < 0: print('no real root') else:
x=(-b + math.sqrt( b * b - 4 * a * c )) / 2 / a
y=(-b - math.sqrt( b * b - 4 * a * c )) / 2 / a
return x, y
Lyuynn
-- coding: utf-8 --
age = int(input('Please enter your age:')) if age >= 18: pass else: print('Go Away')