Di dieu aya program Python anu nyuhunkeun input pamaké sarta ngitung solusi poténsial pikeun persamaan kuadrat ax^2 + bx + c = 0: ```python ngimpor cmath # Nyuhunkeun input pamaké a = float(input("Lisukeun koefisien a: ")) b = float(input("Lisukeun koefisien b: ")) c = float(input("Lisukeun koefisien c: ")) # Ngitung discriminant discriminant = cmath.sqrtb**2 - 4*a*c) # Ngitung solusi poténsial x1 = (-b + discriminant) / (2*a) x2 = (-b - discriminant) / (2a) # * # Kaluaran solusi printf"Lisuran anu x1 = x1x1x2x2} {i} kode ``) Ieu program
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence