python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
n = str(input("1010101010")) lst1=[] lst2=[] list=[] for i in n: if i == 0: lst1.append(i) else: lst2.append(i) list=lst1.concat(lst2) print(list)
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