Skip to content
Merged
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
4 changes: 2 additions & 2 deletions Sorting Algorithims/Bubble_sort.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ def bubble_sort(Lists):
# Lets the user enter values of an array and verify by himself/herself
array = []
array_length = int(
input(print("Enter the number of elements of array or enter the length of array"))
input("Enter the number of elements of array or enter the length of array")
)
for i in range(array_length):
value = int(input(print("Enter the value in the array")))
value = int(input("Enter the value in the array"))
array.append(value)

bubble_sort(array)
Expand Down