Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solution #1202

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

solution #1202

wants to merge 2 commits into from

Conversation

JRuiy
Copy link

@JRuiy JRuiy commented Sep 3, 2024

No description provided.

app/main.py Outdated
weight: int,
coords: list[int] = None
) -> None:
if coords is None:

Choose a reason for hiding this comment

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

write it in one line

Comment on lines +42 to +43
if len(coords) <= 2:
coords = coords.append(0)
Copy link

Choose a reason for hiding this comment

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

this two line redundant here

Copy link
Author

Choose a reason for hiding this comment

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

but in case if we put to flying robot coords like [0, 0] there will be IndexError after we try to use go_up/go_down funcs

@JRuiy JRuiy requested a review from vsmutok September 5, 2024 10:31
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.

3 participants