-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 #1220
base: master
Are you sure you want to change the base?
Solution #1220
Conversation
self.learn_skill("JavaScript") | ||
self.learn_skill("HTML") | ||
self.learn_skill("CSS") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.learn_skill("JavaScript")
self.learn_skill("HTML")
self.learn_skill("CSS")
you can pass it as a list
and shorten the code
app/main.py
Outdated
super().__init__(name) | ||
self.learn_skill("Python") | ||
self.learn_skill("SQL") | ||
self.learn_skill("Django") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same
app/main.py
Outdated
def __init__(self, name: str) -> None: | ||
super().__init__(name) | ||
self.learn_skill("Java") | ||
self.learn_skill("Android studio") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and here)
app/main.py
Outdated
def __init__(self, name: str) -> None: | ||
super().__init__(name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need define the init
method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
read checklist
No description provided.