python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
arr = [4,2,3,1] print(len(arr)) for i in range(len(arr)): for j in range(3): if(arr[j]>arr[j+1]): temp = arr[j] arr[j] = arr[j+1] arr[j+1] = temp print(arr)
Share this code with others
Public
Clear
My Repos
Repo
Lang
Login
Register
Login
Create a free account. No Credit card info required.
I agree with the Codepy
Term of Service
Sign Up