diff --git a/prod_final_test.py b/prod_final_test.py new file mode 100644 index 00000000..5720c761 --- /dev/null +++ b/prod_final_test.py @@ -0,0 +1,36 @@ +# This should be at the top. +from __future__ import print_function +import math +import random as ran + +def foo(this_is_unused, x=None): + if x is None: + x = [1, 2] + x.append(ran.randint(1, 100)) + return x + + +def bar(): + print("Hey there, Reviewer!") + + +def spam(): + print("Hope you're paying attention to the tests too!") + + +def give_me_an_issue(): + print("okay. Let's fix this unnecessary fstring.") + + +def get_hypotenuse(a, b): + """Fine. Fix this pythagorean issue as well.""" + return math.hypot(a**2 + b**2) + + +__all__ = [ + "give_me_an_issue", "spam", + "foo", "bar", + "get_hypotenuse" + + +]