Question 12 Marks
Write a script to find the roots of a quadratic equation.
Answer
View full question & answer→"'A script to find the roots of a quadratic equation."'
25 questions · timed · auto-graded
| for Loop | while Loop |
| It is used when we know the exact number of iterations. | It is used when we know the exact number of iterations. |
| e.g. for I in range(1,7): print(i) | e.g. while(1): print("hello") |