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

Develop #1212

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

Develop #1212

wants to merge 3 commits into from

Conversation

KKvladys
Copy link

No description provided.

Copy link

@dmytrik dmytrik left a comment

Choose a reason for hiding this comment

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

Screenshot 2024-09-21 at 16 32 59 I think we need to send coords flyingRobots to parent class. But i'm not sure.

app/main.py Outdated
name: str,
weight: int,
coords: list[int, int] = None
) -> None:
Copy link
Contributor

Choose a reason for hiding this comment

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

move this parenthesis above, follow one code style, fix everywhere

app/main.py Outdated
) -> None:
self.name = name
self.weight = weight
self.coords = coords if coords is not None else [0, 0]
Copy link
Contributor

Choose a reason for hiding this comment

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

you can use:
self.coords = coords or [0, 0]

Copy link

@AnyoneClown AnyoneClown left a comment

Choose a reason for hiding this comment

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

Good job!

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.

4 participants