Skip to content

Conversation

andychups
Copy link

Homework: Programming Languages
Author: Andrey Chupeykin

Choose a reason for hiding this comment

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

Кстати, в пайтоне можно так писать:
a, b = b, a

Copy link
Author

Choose a reason for hiding this comment

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

Вместо swap?

Copy link
Author

Choose a reason for hiding this comment

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

Клево, спасибо, Антон. Сэкономил на операциях :)

P.S. Вот она сила OpenSource)

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