Skip to content
Snippets Groups Projects
Commit 9b650fbf authored by W. Spencer Smith's avatar W. Spencer Smith
Browse files

Update inRange to Python3, remove notetaking slide

parent c8164761
No related branches found
No related tags found
No related merge requests found
File deleted
......@@ -2,8 +2,8 @@ def indexSet(x, B):
return [i for i in range(len(B)) if B[i]==x]
B = [6, 8, 4, 2, 4, 9]
print indexSet(9, B)
print indexSet(4, B)
print(indexSet(9, B))
print(indexSet(4, B))
print indexSet(9, sorted(B, reverse=True))
print indexSet(4, sorted(B, reverse=True))
print(indexSet(9, sorted(B, reverse=True)))
print(indexSet(4, sorted(B, reverse=True)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment