Skip to content

Commit e898269

Browse files
authored
Merge pull request #232 from zoyakostyreva/hyperskill_links_with_utm
Hyperskill links. UTM tags added
2 parents 8e03d82 + 4326e5f commit e898269

File tree

61 files changed

+61
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+61
-61
lines changed

Classes and objects/Call a method from another method/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ As we discussed before, methods may call other methods by using method attribute
44
Use this knowledge to complete the `exponentiate` method of the `Calculator` class. It should
55
call the `multiply` method to calculate the result.
66

7-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6931).
7+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6931?utm_source=jba&utm_medium=jba_courses_links).

Classes and objects/Class and Instance Variables 2/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Implement the method `add_city` that will append a city name to the `all_cities`
99

1010
In the `__init__` method, call the `add_city` method to add the city name to the list upon object initialization.
1111

12-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6981).
12+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6981?utm_source=jba&utm_medium=jba_courses_links).

Classes and objects/Class and Instance Variables/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ one object, it will be changed for all objects of the class (check out the examp
3636
editor – see what `print(barsik.favorite_food)` will print). If you intend using a list to keep track
3737
of features unique to each instance, you need to make it an instance attribute.
3838

39-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6677).
39+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6677?utm_source=jba&utm_medium=jba_courses_links).
4040

4141
### Task
4242
In the code editor, complete the implementation of the `Animals` class so that the `print` statement

Classes and objects/Definition/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ variable `x`.
4343
You can find out more about class definition syntax by reading <a href="https://docs.python.org/3/tutorial/classes.html#class-definition-syntax">this section</a>
4444
of Python Documentation.
4545

46-
For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6661).
46+
For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6661?utm_source=jba&utm_medium=jba_courses_links).
4747

4848
### Task
4949
Assign a value to `variable` inside `MyClass` and create an object `my_class` of the class `MyClass()`.

Classes and objects/Special __init__ method/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ x.num
3636
(3-4.5j)
3737
```
3838

39-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6669#def-__init).
39+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6669#def-__init?utm_source=jba&utm_medium=jba_courses_links).
4040

4141
### Task
4242
In the code editor, add parameters to the`__init__()` method of the `Car` class, so we can

Classes and objects/The self parameter/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Bag:
2222
self.add(x)
2323
```
2424

25-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6669#self).
25+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6669#self?utm_source=jba&utm_medium=jba_courses_links).
2626

2727
### Task
2828
In the code editor, implement the `add` method of the `Calculator` class. It should

Classes and objects/Update variable/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this exercise, create a new `Car` object `car2` and then set `color`
44
of `car2` to `"red"`. Print the descriptions of `car1` and `car2` by calling the
55
`description` method.
66

7-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6677#changing-attributes).
7+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6677#changing-attributes?utm_source=jba&utm_medium=jba_courses_links).
88

99
<div class='hint'>Remember how we instantiated objects in the previous task by
1010
"calling" the class.</div>

Classes and objects/Variable access/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ then `MyClass.year` and `MyClass.say_hello` are valid attribute references retur
1717
integer and a function object, respectively. Class attributes can be
1818
assigned to, so you can change the value of `MyClass.year` by assignment.
1919

20-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6661#class-attribute).
20+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6661#class-attribute?utm_source=jba&utm_medium=jba_courses_links).
2121

2222
### Task
2323
Check out our example and print the value of `variable1` from `my_object`.

Classes and objects/__str__ vs __repr__/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Also, if we think it would be useful to have a string representation for users,
2727
a `__str__` function. Check out another implementation of the class `Complex` in the code editor. Run the code
2828
to see what each of the two `print` statements prints.
2929

30-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/7139#str__-vs-__repr).
30+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/7139#str__-vs-__repr?utm_source=jba&utm_medium=jba_courses_links).
3131

3232
### Task
3333
Implement `__str__` and `__repr__` methods for the class `Cat`. `__str__` method should return a string like this:

Condition expressions/Boolean operators order/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Boolean operators are not evaluated from left to right. There's an order of operations for
44
boolean operators: `not` is evaluated first, `and` is evaluated next, and `or` is evaluated last.
55

6-
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6025).
6+
For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6025?utm_source=jba&utm_medium=jba_courses_links).
77

88
### Task
99
Write an expression that evaluates to `True` if `name` is either `"John"` or `"Jane"` who are `16` or older, but younger than `25`.

0 commit comments

Comments
 (0)