For this quiz I had to make a program that would return the square and cube root of a given number. I used two mathematical functions: math.sqrt() for the square root and math.pow(); which raises a value, in this case to 1/3 to get the cube root. I also had to first import math module.
This is how my code looked at the end:
And how it ran: