
def print_root(a, b, c):
	r1 = (-b + (b ** 2 - 4 * a * c) ** 0.5) / (2 * a)
	r2 = (-b - (b ** 2 - 4 * a * c) ** 0.5) / (2 * a)

	print('하는 {} 또는 {}'.format(r1, r2))

x = 1
y = 2
z = -8	
	
print_root(x, y, z)


x = 2
y = -6
z = -8	

print_root(x, y, z)

def print_round(number):
	rounded = round(number)
	print(rounded)
	
print_round(4.6)
print_round(2.2)
print_round(3.6)