Quiz

Take this quiz to test your understanding of the concepts explained in this chapter!

We'll cover the following...
Technical Quiz
1.

Which of the following is the correct way to import and use the exp function from the math module? Select all that apply. Multi-select

A.
from math import exp

num = 5
exp_num = exp(num)
print(exp_num)
B.
import math

num = 5
exp_num = math.exp(num)
print(exp_num)
C.
import exp from math

num = 5
exp_num = exp(num)
print(exp_num)
D.
from math import *

num = 5
exp_num = exp(num)
print(exp_num)

1 / 5