Skip to content

1. Константинов Максим Артемович. 613 - #16

Closed
terrymcgrowl wants to merge 8 commits into
python-department:mainfrom
terrymcgrowl:main
Closed

terrymcgrowl wants to merge 8 commits into
python-department:mainfrom
terrymcgrowl:main

Conversation

@terrymcgrowl

Copy link
Copy Markdown

No description provided.

@github-actions github-actions Bot added the 613 label Sep 22, 2026
Comment thread src/part1/snowflake.py
"""
# TODO: реализуйте функцию
return 0
if not 0 <= node_id <= NODE_ID_MAX:

@Avshugan Avshugan Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(Не ошибка) Я бы советовал оборачивать в ():

not (0 <= node_id <= NODE_ID_MAX)

Так код понятнее

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants