Skip to content

Update 2.py#2

Open
eirenik0 wants to merge 1 commit into
belskiiartem:masterfrom
eirenik0:patch-2
Open

Update 2.py#2
eirenik0 wants to merge 1 commit into
belskiiartem:masterfrom
eirenik0:patch-2

Conversation

@eirenik0

Copy link
Copy Markdown
original = '123456 7 890 abc'
change = '36 0b'
original[::3] == change
# False
original[2::3] == change
# True

original = '123456 7 890 abc'
change = '36 0b'
original[::3] == change
# False
original[2::3] == change
# True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant