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
12 changes: 0 additions & 12 deletions Debugcode.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
#Broken code
def lone_sum(a, b, c):
if a >= b:
return c
elif a == c:
return b
elif b == c:
return a
elif a == b and a == c and b == c:
return 0
else:
return a+b+c

def lone_sum(a, b, c): #definiton lone_sum
if a == b and a == c, and b == c: #moved this from an elif statement to the if statement
Expand Down