Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unsorted_final = sorted_array_one + sorted_array_two
- length_unsorted_final = len(unsorted_final)
- sorted_array_final = []
- #Final array sorted and stored
- for a in range(length_unsorted_final-1):
- for b in range(length_unsorted_final-a-1):
- if unsorted_final[b] > unsorted_final[b+1]:
- unsorted_final[b], unsorted_final[b+1] = unsorted_final[b+1], unsorted_final[b]
- for words in unsorted_final:
- sorted_array_final.append(words)
- print(sorted_array_final)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement