Plz help me to complete this code and find out the problem | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Plz help me to complete this code and find out the problem

Write a python function that takes a, b, c as arguments, where a, b, c are constants (ax^2 + bx + c = 0) and returns a 2-tuple. This is the question https://code.sololearn.com/ca24a23A36A9 and this my try I just want to ask that how i can return the root in tuple with 2 float I mean what "return a 2tuple".actually mean??

30th May 2021, 4:58 PM
Srishti
Srishti - avatar
1 Antwort
+ 1
# Hint: def test(a,b): return (a*2, b*2) print(test(2,4))
30th May 2021, 6:40 PM
Rohit