Skip to content

Conversation

@dviszt
Copy link

@dviszt dviszt commented Mar 20, 2018

No description provided.

for num in nums:
if len(result) == 0 or num != result[-1]:
result.append(num)
return result
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nagyon klassz 👍

result.append(list2.pop(0))
result.extend(list1)
result.extend(list2)
return result
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

2 participants