diff --git a/README.md b/README.md index e51c080f9..0a1653334 100644 --- a/README.md +++ b/README.md @@ -78,9 +78,7 @@ def bubble_sort(lst): for passnum in range(len(lst) - 1, 0, -1): for i in range(passnum): if lst[i] > lst[i + 1]: - temp = lst[i] - lst[i] = lst[i + 1] - lst[i + 1] = temp + lst[i], lst[i + 1] = lst[i + 1], lst[i] ```
View Examples