Skip to content

Commit 978f426

Browse files
c252leios
authored andcommitted
tiny fix to bogo sort in python (#579)
1 parent 37e2607 commit 978f426

File tree

1 file changed

+1
-1
lines changed
  • contents/bogo_sort/code/python

1 file changed

+1
-1
lines changed

contents/bogo_sort/code/python/bogo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def bogo_sort(a):
1212
random.shuffle(a)
1313

1414
def main():
15-
a = [1., 3, 2, 4]
15+
a = [1, 3, 2, 4]
1616
bogo_sort(a)
1717
print(a)
1818

0 commit comments

Comments
 (0)