Is it correct?

Report a typo

What will be printed after running the unit test below?

a = 2
b = 2
expected = 5

output = f(a, b)

if expected == output:
   print("True")
else:
   print("False")

The function is:

f(a, b) = a * b
Enter a short text
___

Create a free account to access the full topic