Skip to content

Commit

Permalink
Merge pull request #213 from jetbrains-academy/sofia/fixes_200_204
Browse files Browse the repository at this point in the history
Sofia/fixes 200 204
  • Loading branch information
sofiiako authored Aug 8, 2023
2 parents f128e25 + 11e312d commit 2914d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Classes and objects/Special __init__ method/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ x.num
In the code editor, add parameters to the`__init__()` method of the `Car` class, so we can
create it with a specified color and brand.

<div class='hint'>Add two parameters &mdash; <code>self</code> and <code>color</code>.</div>
<div class='hint'>Add three parameters &mdash; <code>self</code>, <code>color</code> and <code>brand</code>.</div>
2 changes: 1 addition & 1 deletion Functions/Args and kwargs/task.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ other_guy : street clown
scene : in a park
```
This function can be called with an arbitrary number of arguments. These arguments will be wrapped
up in a tuple (see [Tuples](course://Data structures/Tuples)). Before the variable number of arguments, zero or
up in a tuple or a list (see [Tuples](course://Data structures/Tuples), [Lists](course://Data structures/Lists introduction)). Before the variable number of arguments, zero or
more normal arguments may occur; in our case there's one – `place`. Any formal parameters that occur
after the `*args` parameter are [‘keyword-only’](https://peps.python.org/pep-3102/) arguments, meaning that they can only be used as keywords
rather than positional arguments. Another way to call this function is shown in call 2, and it will give
Expand Down

0 comments on commit 2914d21

Please sign in to comment.