MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / main

Function main

sorts/odd_even_transposition_parallel.py:182–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180
181# creates a reverse sorted list and sorts it
182def main():
183 arr = list(range(10, 0, -1))
184 print("Initial List")
185 print(*arr)
186 arr = odd_even_transposition(arr)
187 print("Sorted List\n")
188 print(*arr)
189
190
191if __name__ == "__main__":

Calls 1

odd_even_transpositionFunction · 0.70

Tested by

no test coverage detected