Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions prod_final_test.py
Original file line number Diff line number Diff line change
@@ -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"


]