Use Pythonic item access (#164)

pull/173/head
Christian Clauss 2021-04-12 12:02:56 +02:00 committed by GitHub
parent b95fa5b691
commit e151d71572
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -17,5 +17,5 @@ def bubbleSort(arr):
bubbleSort(arr)
print("Sorted array is:")
for i in range(len(arr)):
print(arr[i])
for item in arr:
print(item)