python
Dashboard
My Repos
Compilers
Python Online
Node JS Online
Golang Online
codepy
Login
My Repos
Sign Out
Online Python Interpreter
Stop
Run
some_num = input() splited_num = list(some_num) isSameNumNear = False for index in range(len(splited_num)-1): if splited_num[index] == splited_num[index+1]: isSameNumNear = True print('2 цифры идут подряд' if isSameNumNear else 'Все цифры разные')
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