From ad338610841c35467fba6b47aea6fa8900a2ac0a Mon Sep 17 00:00:00 2001 From: "aleksandra.valerianova" Date: Wed, 13 May 2026 20:00:53 +0300 Subject: [PATCH] Deleted all mentions of Hyperskill --- .../Call a method from another method/task.md | 1 - .../Class and Instance Variables 2/task.md | 1 - .../Class and Instance Variables/task.md | 1 - Classes and objects/Definition/task.md | 1 - Classes and objects/Special __init__ method/task.md | 1 - Classes and objects/The self parameter/task.md | 1 - Classes and objects/Update variable/task.md | 1 - Classes and objects/Variable access/task.md | 1 - Classes and objects/__str__ vs __repr__/task.md | 1 - .../Boolean operators order/task.md | 1 - Condition expressions/Boolean operators/task.md | 3 +-- .../Else and elif parts in if statement/task.md | 3 +-- Condition expressions/If statement/task.md | 1 - .../Single-line if-else statement/task.md | 2 -- Data structures/Dictionaries/task.md | 1 - .../Dictionary keys() and values()/task.md | 1 - Data structures/In keyword/task.md | 1 - Data structures/Join method/task.md | 1 - Data structures/Lists introduction/task.md | 1 - Data structures/Lists operations/task.md | 1 - Data structures/Nested Lists/task.md | 2 +- Data structures/Tuples/task.md | 1 - File input output/Open file/task.md | 1 - File input output/Read all lines/task.md | 1 - File input output/Read file/task.md | 1 - File input output/What next/task.md | 4 +--- File input output/Write to file/task.md | 1 - Functions/Args and kwargs/task.md | 1 - Functions/Default parameters/task.md | 1 - Functions/Definition/task.md | 1 - Functions/Docstrings/task.md | 1 - Functions/Parameters and call arguments/task.md | 1 - Functions/Recursion/task.md | 1 - Functions/Return value/task.md | 1 - Introduction/Comments/task.md | 1 - Introduction/Our first program/task.md | 12 ------------ Loops/Break keyword/task.md | 1 - Loops/Continue keyword/task.md | 1 - Loops/Else with loops/task.md | 1 - Loops/For loop/task.md | 1 - Loops/List Comprehension/task.md | 1 - Loops/Nested List Comprehension/task.md | 1 - Loops/Nested for Loop/task.md | 1 - Loops/While loop/task.md | 1 - Modules and packages/Built-in modules/task.md | 1 - .../Executing modules as scripts/task.md | 1 - Modules and packages/From import/task.md | 1 - Modules and packages/Import_module/task.md | 1 - Modules and packages/Packages/task.md | 1 - Strings/Basic string methods/task.md | 1 - Strings/Character escaping/task.md | 1 - Strings/F-strings/task.md | 1 - Strings/String formatting/task.md | 1 - Strings/String indexing/task.md | 1 - Strings/String length/task.md | 1 - Strings/String negative indexing/task.md | 1 - Strings/String slicing/task.md | 1 - Variables/Arithmetic operators/task.md | 1 - Variables/Boolean operators/task.md | 2 -- Variables/Comparison operators/task.md | 1 - Variables/Type conversion/task.md | 1 - Variables/Variable definition/task.md | 1 - Variables/Variable types/task.md | 1 - 63 files changed, 4 insertions(+), 80 deletions(-) diff --git a/Classes and objects/Call a method from another method/task.md b/Classes and objects/Call a method from another method/task.md index dfba8986..6daa5d60 100644 --- a/Classes and objects/Call a method from another method/task.md +++ b/Classes and objects/Call a method from another method/task.md @@ -4,4 +4,3 @@ As we discussed before, methods may call other methods by using method attribute Use this knowledge to complete the `exponentiate` method of the `Calculator` class. It should call the `multiply` method to calculate the result. -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). \ No newline at end of file diff --git a/Classes and objects/Class and Instance Variables 2/task.md b/Classes and objects/Class and Instance Variables 2/task.md index 5a03faf3..ebe06a05 100644 --- a/Classes and objects/Class and Instance Variables 2/task.md +++ b/Classes and objects/Class and Instance Variables 2/task.md @@ -9,4 +9,3 @@ Implement the method `add_city` that will append a city name to the `all_cities` In the `__init__` method, call the `add_city` method to add the city name to the list upon object initialization. -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). \ No newline at end of file diff --git a/Classes and objects/Class and Instance Variables/task.md b/Classes and objects/Class and Instance Variables/task.md index 9aecf490..b32fa517 100644 --- a/Classes and objects/Class and Instance Variables/task.md +++ b/Classes and objects/Class and Instance Variables/task.md @@ -36,7 +36,6 @@ one object, it will be changed for all objects of the class (check out the examp editor – see what `print(barsik.favorite_food)` will print). If you intend using a list to keep track of features unique to each instance, you need to make it an instance attribute. -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). ### Task In the code editor, complete the implementation of the `Animals` class so that the `print` statement diff --git a/Classes and objects/Definition/task.md b/Classes and objects/Definition/task.md index afb9165d..0a8ed46d 100644 --- a/Classes and objects/Definition/task.md +++ b/Classes and objects/Definition/task.md @@ -43,7 +43,6 @@ variable `x`. You can find out more about class definition syntax by reading this section of Python Documentation. -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). ### Task Assign a value to `variable` inside `MyClass` and create an object `my_object` of the class `MyClass()`. diff --git a/Classes and objects/Special __init__ method/task.md b/Classes and objects/Special __init__ method/task.md index 3790a61f..7b2ece59 100644 --- a/Classes and objects/Special __init__ method/task.md +++ b/Classes and objects/Special __init__ method/task.md @@ -36,7 +36,6 @@ x.num (3-4.5j) ``` -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). ### Task In the code editor, add parameters to the`__init__()` method of the `Car` class, so we can diff --git a/Classes and objects/The self parameter/task.md b/Classes and objects/The self parameter/task.md index e933aadc..b5b25a63 100644 --- a/Classes and objects/The self parameter/task.md +++ b/Classes and objects/The self parameter/task.md @@ -22,7 +22,6 @@ class Bag: self.add(x) ``` -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). ### Task In the code editor, implement the `add` method of the `Calculator` class. It should diff --git a/Classes and objects/Update variable/task.md b/Classes and objects/Update variable/task.md index 2945c648..75447d9d 100644 --- a/Classes and objects/Update variable/task.md +++ b/Classes and objects/Update variable/task.md @@ -4,7 +4,6 @@ In this exercise, create a new `Car` object `car2` and then set `color` of `car2` to `"red"`. Print the descriptions of `car1` and `car2` by calling the `description` method. -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).
Remember how we instantiated objects in the previous task by "calling" the class.
diff --git a/Classes and objects/Variable access/task.md b/Classes and objects/Variable access/task.md index c47f7407..1bfe5550 100644 --- a/Classes and objects/Variable access/task.md +++ b/Classes and objects/Variable access/task.md @@ -17,7 +17,6 @@ then `MyClass.year` and `MyClass.say_hello` are valid attribute references retur integer and a function object, respectively. Class attributes can be assigned to, so you can change the value of `MyClass.year` by assignment. -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). ### Task Check out our example and print the value of `variable1` from `my_object`. diff --git a/Classes and objects/__str__ vs __repr__/task.md b/Classes and objects/__str__ vs __repr__/task.md index 704f724a..9a4d14bd 100644 --- a/Classes and objects/__str__ vs __repr__/task.md +++ b/Classes and objects/__str__ vs __repr__/task.md @@ -27,7 +27,6 @@ Also, if we think it would be useful to have a string representation for users, a `__str__` function. Check out another implementation of the class `ComplexNumber` in the code editor. Run the code to see what each of the two `print` statements prints. -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). ### Task Implement `__str__` and `__repr__` methods for the class `Cat`. `__str__` method should return a string like this: diff --git a/Condition expressions/Boolean operators order/task.md b/Condition expressions/Boolean operators order/task.md index 212fbf5e..9c82d566 100644 --- a/Condition expressions/Boolean operators order/task.md +++ b/Condition expressions/Boolean operators order/task.md @@ -3,7 +3,6 @@ Boolean operators are not evaluated from left to right. There's an order of operations for boolean operators: `not` is evaluated first, `and` is evaluated next, and `or` is evaluated last. -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). ### Task Write an expression that evaluates to `True` if `name` is either `"John"` or `"Jane"` who are `16` or older, but younger than `25`. diff --git a/Condition expressions/Boolean operators/task.md b/Condition expressions/Boolean operators/task.md index be36fe30..728a882b 100644 --- a/Condition expressions/Boolean operators/task.md +++ b/Condition expressions/Boolean operators/task.md @@ -4,8 +4,7 @@ Boolean operators compare statements and return results in boolean values. The b operator `and` returns `True` when the expressions on both sides of `and` are `True`. The boolean operator `or` returns `True` when at least one expression on either side of `or` is `True`. The boolean operator `not` inverts the boolean expression it precedes. - -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). + ### Task Write an expression that evaluates to `True` if `name` is equal to `"John"` and diff --git a/Condition expressions/Else and elif parts in if statement/task.md b/Condition expressions/Else and elif parts in if statement/task.md index 7b4f01dd..15197adc 100644 --- a/Condition expressions/Else and elif parts in if statement/task.md +++ b/Condition expressions/Else and elif parts in if statement/task.md @@ -40,8 +40,7 @@ can be written as a += 1 if a > b else a -= 1 ``` - -For more structured and detailed information, you can refer to [this](https://hyperskill.org/learn/step/5932?utm_source=jba&utm_medium=jba_courses_links) and [this](https://hyperskill.org/learn/step/5926?utm_source=jba&utm_medium=jba_courses_links) Hyperskill knowledge base pages. + ### Task Print `True` if `name` is equal to `"John"` and `False` otherwise. diff --git a/Condition expressions/If statement/task.md b/Condition expressions/If statement/task.md index c36da245..6b0a3eea 100644 --- a/Condition expressions/If statement/task.md +++ b/Condition expressions/If statement/task.md @@ -26,7 +26,6 @@ If you have only one statement to execute, you can put it on the same line as th if a > b: print("a is greater than b") ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5953?utm_source=jba&utm_medium=jba_courses_links). ### Task Print `"Not an empty list!"` if the `tasks` list is not empty. diff --git a/Condition expressions/Single-line if-else statement/task.md b/Condition expressions/Single-line if-else statement/task.md index f010ac6b..a67a4633 100644 --- a/Condition expressions/Single-line if-else statement/task.md +++ b/Condition expressions/Single-line if-else statement/task.md @@ -5,5 +5,3 @@ Rewrite the statement in the code editor so that it fits in one line but the results of its execution remain exactly the same: - If `my_random_number` is greater than 50, the program should print the value of `my_random_number`. - Otherwise, it should print the message `"Too small!"`. - -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5932#simple-if-else?utm_source=jba&utm_medium=jba_courses_links). \ No newline at end of file diff --git a/Data structures/Dictionaries/task.md b/Data structures/Dictionaries/task.md index 5b1c77cd..4091d1c8 100644 --- a/Data structures/Dictionaries/task.md +++ b/Data structures/Dictionaries/task.md @@ -25,7 +25,6 @@ You can access a value in a dictionary similarly to how you would access a value but using a key instead of an index. More info about this data structure can be found here. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6481?utm_source=jba&utm_medium=jba_courses_links). ### Task Add Jared's (`"Jared"`) number `570` to the phone book. diff --git a/Data structures/Dictionary keys() and values()/task.md b/Data structures/Dictionary keys() and values()/task.md index 5a8b81cb..ee446301 100644 --- a/Data structures/Dictionary keys() and values()/task.md +++ b/Data structures/Dictionary keys() and values()/task.md @@ -14,7 +14,6 @@ followed by a dot. Read more about the operations that dictionaries support here. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/11096?utm_source=jba&utm_medium=jba_courses_links). ### Task Print all values from the `phone_book` . diff --git a/Data structures/In keyword/task.md b/Data structures/In keyword/task.md index 0caaa35d..2fac204e 100644 --- a/Data structures/In keyword/task.md +++ b/Data structures/In keyword/task.md @@ -8,7 +8,6 @@ item. You can apply `in` to lists or dictionaries the same way you did it with s Please complete the task in the specified order. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/11096?utm_source=jba&utm_medium=jba_courses_links).
Use the in keyword.
diff --git a/Data structures/Join method/task.md b/Data structures/Join method/task.md index ba4fea89..36be2d5c 100644 --- a/Data structures/Join method/task.md +++ b/Data structures/Join method/task.md @@ -33,7 +33,6 @@ aa = bb = cc Python is a programming language ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6972#join-a-list?utm_source=jba&utm_medium=jba_courses_links). ### Task Assign a value to the `joined` variable such that the `print` statement prints the following: diff --git a/Data structures/Lists introduction/task.md b/Data structures/Lists introduction/task.md index 464114cb..b2d3d880 100644 --- a/Data structures/Lists introduction/task.md +++ b/Data structures/Lists introduction/task.md @@ -17,7 +17,6 @@ squares + [36, 49, 64, 81, 100] You can explore lists in more detail by reading this page. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5979?utm_source=jba&utm_medium=jba_courses_links). ### Task Use list slicing to print `[4, 9, 16]`. diff --git a/Data structures/Lists operations/task.md b/Data structures/Lists operations/task.md index d43e8eed..b8815b10 100644 --- a/Data structures/Lists operations/task.md +++ b/Data structures/Lists operations/task.md @@ -32,7 +32,6 @@ squares Find out about many other useful list methods on this page. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6031?utm_source=jba&utm_medium=jba_courses_links). ### Task Replace `"dino"` with `"dinosaur"` in the `animals` list. diff --git a/Data structures/Nested Lists/task.md b/Data structures/Nested Lists/task.md index f5f240fa..1f801d5c 100644 --- a/Data structures/Nested Lists/task.md +++ b/Data structures/Nested Lists/task.md @@ -31,7 +31,7 @@ Output: ```text 1 ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6938?utm_source=jba&utm_medium=jba_courses_links). + ### Task In the code editor, use indexing to access and print elements `9` and `10` from of the nested list `my_list`. diff --git a/Data structures/Tuples/task.md b/Data structures/Tuples/task.md index 25f4e0a0..410fdf80 100644 --- a/Data structures/Tuples/task.md +++ b/Data structures/Tuples/task.md @@ -41,7 +41,6 @@ values `12345`, `54321`, and `hello!` are packed together in a tuple. Some other list methods are also applicable to tuples. You can read more about tuples here. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/7462?utm_source=jba&utm_medium=jba_courses_links). ### Task Print the length of the tuple `alphabet`. Then create a tuple with a single element `'fun_tuple'`. diff --git a/File input output/Open file/task.md b/File input output/Open file/task.md index 217e70c3..a76f7997 100644 --- a/File input output/Open file/task.md +++ b/File input output/Open file/task.md @@ -28,7 +28,6 @@ True **Important**: If you’re not using the `with` keyword, then you should call `f.close()` to close the file and free up any system resources used by it. You cannot use the file object after it is closed, whether by a `with` statement or by calling `f.close()`. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/8691?utm_source=jba&utm_medium=jba_courses_links). ### Task - In the code editor, open the file `input1.txt` in read mode, properly using the `with` statement. The `input1.txt` file stores the name of the file where the string `Hello World` should be output. Reading this name is already implemented in the `outfile_name` variable. diff --git a/File input output/Read all lines/task.md b/File input output/Read all lines/task.md index f055224d..747604ae 100644 --- a/File input output/Read all lines/task.md +++ b/File input output/Read all lines/task.md @@ -3,6 +3,5 @@ ### Task Read all lines from the file input.txt into the list called `lines_list`. There are at least two different ways to do it. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/8139#readlines?utm_source=jba&utm_medium=jba_courses_links).
Two possible solutions are discussed in the previous task.
\ No newline at end of file diff --git a/File input output/Read file/task.md b/File input output/Read file/task.md index 10eea7e3..67c93b5e 100644 --- a/File input output/Read file/task.md +++ b/File input output/Read file/task.md @@ -52,7 +52,6 @@ If you want to read all the lines of a file in a list, you can also use `list(f) For more details, check out the section [Methods of File Objects](https://docs.python.org/3/tutorial/inputoutput.html#methods-of-file-objects) in Python Tutorial. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/8139?utm_source=jba&utm_medium=jba_courses_links). ### Task Print the contents of "input.txt" to output by iterating over the lines of the file and printing each one. diff --git a/File input output/What next/task.md b/File input output/What next/task.md index d41a6912..248d92f1 100644 --- a/File input output/What next/task.md +++ b/File input output/What next/task.md @@ -10,7 +10,6 @@ Now that you’ve explored the basics of Python programming, you can dive deeper - Learn about the most widely used Python library with our [course on NumPy](https://plugins.jetbrains.com/plugin/18302-python-libraries--numpy). - Find out how to build an [AMazing](https://plugins.jetbrains.com/plugin/17519-amazing) maze with Python. - Discover the basics of [Machine Learning](https://plugins.jetbrains.com/plugin/18392-machine-learning-101). -- Check out the projects in the [Python Core](https://hyperskill.org/tracks/2) or [Python for Beginners](https://hyperskill.org/tracks/6) track at JetBrains Academy on Hyperskill. You can also find a huge number of other courses in the [JetBrains Academy catalog](https://academy.jetbrains.com/)! @@ -20,9 +19,8 @@ Stay tuned for new courses and updates! - At the moment, 37 Python projects and 348 topics are available for learning, and the number keeps growing. Other programming languages, such as Kotlin and Java, are also available. - Projects of varying difficulty levels provide a flexible learning experience for all. -- Comprehensive learning tracks are augmented with a detailed [Knowledge Map](https://hyperskill.org/knowledge-map?utm_source=ide&utm_medium=ide&utm_campaign=ide&utm_content=last-task). - Learn anywhere: you can start learning on your tablet or mobile phone via a browser and continue on your - laptop or PC; you can even build the projects [right in your IDE](https://hyperskill.org/plugin#python?utm_source=ide&utm_medium=ide&utm_campaign=ide&utm_content=last-task). + laptop or PC; you can even build the projects right in your IDE. ### Contribution If you want to contribute, feel free to create a pull request or an issue in the course’s [GitHub repo](https://github.com/jetbrains-academy/introduction_to_python). diff --git a/File input output/Write to file/task.md b/File input output/Write to file/task.md index 7ccded26..944edf65 100644 --- a/File input output/Write to file/task.md +++ b/File input output/Write to file/task.md @@ -36,7 +36,6 @@ f.write('\n' + 'string,' + ' ' + 'another string') ``` This will add a new line and write `'string, another string'`. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/8334?utm_source=jba&utm_medium=jba_courses_links). ### Task In the code editor, **append** one new line to `output.txt` with all elements from the `zoo` list separated by `' and '`. diff --git a/Functions/Args and kwargs/task.md b/Functions/Args and kwargs/task.md index a3c64bf2..9adc2567 100644 --- a/Functions/Args and kwargs/task.md +++ b/Functions/Args and kwargs/task.md @@ -24,7 +24,6 @@ after the `*args` parameter are [‘keyword-only’](https://peps.python.org/pep rather than positional arguments. Another way to call this function is shown in call 2, and it will give us the same output. -For more structured and detailed information, you can refer to [this ](https://hyperskill.org/learn/step/8560?utm_source=jba&utm_medium=jba_courses_links) and [this](https://hyperskill.org/learn/step/9544?utm_source=jba&utm_medium=jba_courses_links) Hyperskill knowledge base pages. ### Task diff --git a/Functions/Default parameters/task.md b/Functions/Default parameters/task.md index fbc1a8ae..66a862ad 100644 --- a/Functions/Default parameters/task.md +++ b/Functions/Default parameters/task.md @@ -19,7 +19,6 @@ Do not put spaces around the `=` symbol in function calls and definitions. Explore this topic further by reading this section of Python Documentation. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/10295?utm_source=jba&utm_medium=jba_courses_links). ### Task Add parameters to the `hello()` function and set a default value for the `name` parameter. diff --git a/Functions/Definition/task.md b/Functions/Definition/task.md index 2be63e20..0e431403 100644 --- a/Functions/Definition/task.md +++ b/Functions/Definition/task.md @@ -21,7 +21,6 @@ my_function() # function call Read more about defining functions in this section of Python Documentation. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5900?utm_source=jba&utm_medium=jba_courses_links). ### Task - Call the function `my_function` inside the loop to repeat its invocation 5 times diff --git a/Functions/Docstrings/task.md b/Functions/Docstrings/task.md index 488e852c..560944aa 100644 --- a/Functions/Docstrings/task.md +++ b/Functions/Docstrings/task.md @@ -6,7 +6,6 @@ A docstring for a function or method should summarize its behavior and document Docstrings should also generally be written for module, class and method definitions (you will learn about these things later on in the course). Read more about docstring conventions in the [Python PEP Guide](https://peps.python.org/pep-0257/). -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/11869?utm_source=jba&utm_medium=jba_courses_links). ### Task Add the following docstring to the function defined in the code editor: diff --git a/Functions/Parameters and call arguments/task.md b/Functions/Parameters and call arguments/task.md index 4f307708..75fe2cb9 100644 --- a/Functions/Parameters and call arguments/task.md +++ b/Functions/Parameters and call arguments/task.md @@ -35,7 +35,6 @@ TypeError Traceback (most recent call last) TypeError: my_function() missing 1 required positional argument: 'surname' ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/7248?utm_source=jba&utm_medium=jba_courses_links). ### Task In the code editor, define a function that prints the square of a passed parameter. diff --git a/Functions/Recursion/task.md b/Functions/Recursion/task.md index bd0e9d17..1b87e25c 100644 --- a/Functions/Recursion/task.md +++ b/Functions/Recursion/task.md @@ -54,7 +54,6 @@ Keep in mind that recursion isn’t useful in every situation. For some problems possible, will be awkward rather than elegant. Recursive implementations often consume more memory than non-recursive ones and in some cases may result in slower execution. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/7665?utm_source=jba&utm_medium=jba_courses_links). ### Task In the code editor, implement a recursive function that calculates the [factorial](https://en.wikipedia.org/wiki/Factorial) of a positive integer. diff --git a/Functions/Return value/task.md b/Functions/Return value/task.md index 8c5911ef..6cb53782 100644 --- a/Functions/Return value/task.md +++ b/Functions/Return value/task.md @@ -6,7 +6,6 @@ without a `return` statement do return a value. This value is called `None` (it’s a built-in name). Writing the value `None` is normally suppressed by the interpreter, but if you really want to see it, you can use `print(some_func())`. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5900#execution-and-return?utm_source=jba&utm_medium=jba_courses_links). >The first statement of the function body can optionally be a string literal; this string literal is the function’s documentation string, or docstring (more about docstrings can diff --git a/Introduction/Comments/task.md b/Introduction/Comments/task.md index 99cb6671..30fec9b3 100644 --- a/Introduction/Comments/task.md +++ b/Introduction/Comments/task.md @@ -30,7 +30,6 @@ You can read more about proper commenting in this page of Python Documentation. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6065?utm_source=jba&utm_medium=jba_courses_links). ### Task Print each prime number from the `primes` list using the `for` loop. A prime diff --git a/Loops/List Comprehension/task.md b/Loops/List Comprehension/task.md index 1a6b202d..d6237de7 100644 --- a/Loops/List Comprehension/task.md +++ b/Loops/List Comprehension/task.md @@ -28,7 +28,6 @@ Output: ``` List comprehensions are also more efficient computationally than a `for` loop. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6315?utm_source=jba&utm_medium=jba_courses_links). ### Task In the code editor, use list comprehension to build `my_efficient_list` from the elements of `my_inefficient_list` diff --git a/Loops/Nested List Comprehension/task.md b/Loops/Nested List Comprehension/task.md index 85942c38..147ca7f7 100644 --- a/Loops/Nested List Comprehension/task.md +++ b/Loops/Nested List Comprehension/task.md @@ -33,7 +33,6 @@ Output: [[0, 2, 4, 6, 8], [0, 2, 4, 6, 8], [0, 2, 4, 6, 8]] ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6938#nested-list-comprehension?utm_source=jba&utm_medium=jba_courses_links). ### Task diff --git a/Loops/Nested for Loop/task.md b/Loops/Nested for Loop/task.md index e8232d00..90c91be6 100644 --- a/Loops/Nested for Loop/task.md +++ b/Loops/Nested for Loop/task.md @@ -29,7 +29,6 @@ Note that any type of loop can be nested inside another loop. For example, a [`while` loop](course://Loops/While loop) (see further) can be nested inside a `for` loop, or vice versa. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6065#nested-loop?utm_source=jba&utm_medium=jba_courses_links). ### Task You are given a tic-tac-toe board of 3x3, your task is to print every position. Coordinates along each side diff --git a/Loops/While loop/task.md b/Loops/While loop/task.md index 7bdc41db..2cf1b1cf 100644 --- a/Loops/While loop/task.md +++ b/Loops/While loop/task.md @@ -4,7 +4,6 @@ A `while` loop is somewhat similar to an `if` statement: it executes some code i condition is `True`. The key difference is that it will continue to execute indented code for as long as the condition is `True`. If the expression is `False`, the loop terminates. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5940?utm_source=jba&utm_medium=jba_courses_links). ### Task Print all squares from `1` to `9` `(1, 4, ... , 81)`. Use the `number` variable in a diff --git a/Modules and packages/Built-in modules/task.md b/Modules and packages/Built-in modules/task.md index 92b699c7..894c9852 100644 --- a/Modules and packages/Built-in modules/task.md +++ b/Modules and packages/Built-in modules/task.md @@ -23,7 +23,6 @@ for modules: see what it prints for you when you run the code of the task. Remember that you can use the &shortcut:CodeCompletion; shortcut after a dot (.) to explore available methods of a module. You can read more about standard modules here. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6019#built-in-modules?utm_source=jba&utm_medium=jba_courses_links). ### Task Print the current date and time using an imported built-in module `datetime`. diff --git a/Modules and packages/Executing modules as scripts/task.md b/Modules and packages/Executing modules as scripts/task.md index edf32d0e..bd9100db 100644 --- a/Modules and packages/Executing modules as scripts/task.md +++ b/Modules and packages/Executing modules as scripts/task.md @@ -56,7 +56,6 @@ some_module __name__ is: __main__ some_module executed directly ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6057?utm_source=jba&utm_medium=jba_courses_links). ### Task The files in this task are named the same as in the examples above, but their code is a bit different. diff --git a/Modules and packages/From import/task.md b/Modules and packages/From import/task.md index de9c4643..6892b30b 100644 --- a/Modules and packages/From import/task.md +++ b/Modules and packages/From import/task.md @@ -37,7 +37,6 @@ when utilising `from` with similar effects: from calculator import Subtract as Minus ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6019#module-loading?utm_source=jba&utm_medium=jba_courses_links). ### Task Import the `Calculator` class from `calculator` and create an instance of this class. Remember how to access it correctly in diff --git a/Modules and packages/Import_module/task.md b/Modules and packages/Import_module/task.md index 3f3de76f..5cb36752 100644 --- a/Modules and packages/Import_module/task.md +++ b/Modules and packages/Import_module/task.md @@ -17,7 +17,6 @@ directly, but using the module name, you can now access the functions, for examp my_funcs.func1() ``` -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6019#module-loading?utm_source=jba&utm_medium=jba_courses_links). ### Task In the code editor, you have already imported the module `my_funcs`. diff --git a/Modules and packages/Packages/task.md b/Modules and packages/Packages/task.md index c4bcf4c5..2a7bd0cb 100644 --- a/Modules and packages/Packages/task.md +++ b/Modules and packages/Packages/task.md @@ -40,7 +40,6 @@ hello.hello('Susan') You can learn more about packages by reading this page of Python Documentation. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6384?utm_source=jba&utm_medium=jba_courses_links). ### Task Look at the file structure in the `classes` and `functions` directories and their subdirectories. diff --git a/Strings/Basic string methods/task.md b/Strings/Basic string methods/task.md index 5d4cf1c0..0ad03ed0 100644 --- a/Strings/Basic string methods/task.md +++ b/Strings/Basic string methods/task.md @@ -7,7 +7,6 @@ the string) and the method name after it, e.g., `"John".upper()`. In PyCharm, yo explore all available string methods by using the &shortcut:CodeCompletion; shortcut after the dot. Detailed information about all string methods can be found here. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6842?utm_source=jba&utm_medium=jba_courses_links). ### Task Print `monty_python` in upper case using an appropriate string method. diff --git a/Strings/Character escaping/task.md b/Strings/Character escaping/task.md index bb158cd4..ad631f1c 100644 --- a/Strings/Character escaping/task.md +++ b/Strings/Character escaping/task.md @@ -18,7 +18,6 @@ idea to pick your favorite kind of quotes and use them consistently. You can learn more about escaping from this section of Python Documentation. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/7130?utm_source=jba&utm_medium=jba_courses_links). ### Task Print out the following text using one string: diff --git a/Strings/F-strings/task.md b/Strings/F-strings/task.md index e4863f09..fea36227 100644 --- a/Strings/F-strings/task.md +++ b/Strings/F-strings/task.md @@ -29,7 +29,6 @@ f"{name.lower()} is funny." ``` For more information about formatted string literals you can refer to Python Docs. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6037?utm_source=jba&utm_medium=jba_courses_links). ### Task Try creating an f-string yourself. Also try running the code to see what it prints. diff --git a/Strings/String formatting/task.md b/Strings/String formatting/task.md index f4fefa66..46f374d6 100644 --- a/Strings/String formatting/task.md +++ b/Strings/String formatting/task.md @@ -13,7 +13,6 @@ or decimal values. > Each of these alternatives provides their own trade-offs and benefits of > simplicity, flexibility, and/or extensibility. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6037?utm_source=jba&utm_medium=jba_courses_links). ### Task Tell PyCharm how old you are (using digits). diff --git a/Strings/String indexing/task.md b/Strings/String indexing/task.md index 27b60c70..2258b85a 100644 --- a/Strings/String indexing/task.md +++ b/Strings/String indexing/task.md @@ -9,7 +9,6 @@ Indices may also be negative numbers if you need to start counting from the righ (i.e., from the end of your string). Note that since `-0` is the same as `0` , negative indices start from `-1`. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6189?utm_source=jba&utm_medium=jba_courses_links). ### Task Use the index operator to get the letter `"P"` from `"Python"` . diff --git a/Strings/String length/task.md b/Strings/String length/task.md index 87696f3d..a4b793d9 100644 --- a/Strings/String length/task.md +++ b/Strings/String length/task.md @@ -15,7 +15,6 @@ print(a) # 5.0 print(type(a)) # ``` -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5814?utm_source=jba&utm_medium=jba_courses_links). ### Task Get the first half of the string stored in the variable `phrase`. diff --git a/Strings/String negative indexing/task.md b/Strings/String negative indexing/task.md index 3f196af1..44762bc9 100644 --- a/Strings/String negative indexing/task.md +++ b/Strings/String negative indexing/task.md @@ -3,7 +3,6 @@ As we said, you can use negative indices to count characters ‘backwards’ starting from the end of a string. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6189?utm_source=jba&utm_medium=jba_courses_links). ### Task Use a negative index to get the `'!'` sign from `long_string`. diff --git a/Strings/String slicing/task.md b/Strings/String slicing/task.md index d92cb910..b7b407c7 100644 --- a/Strings/String slicing/task.md +++ b/Strings/String slicing/task.md @@ -24,7 +24,6 @@ str[:end] # items from the beginning through end-1 str[:] # a copy of the whole array -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6177?utm_source=jba&utm_medium=jba_courses_links). ### Task Use slicing to get `"Python"` from the `monty_python` variable. diff --git a/Variables/Arithmetic operators/task.md b/Variables/Arithmetic operators/task.md index 94a5f1aa..b229e150 100644 --- a/Variables/Arithmetic operators/task.md +++ b/Variables/Arithmetic operators/task.md @@ -31,7 +31,6 @@ some of these operations also apply to certain non-numeric types. You can read more on this topic here. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5865?utm_source=jba&utm_medium=jba_courses_links). ### Task - Divide the value stored in `init_number` by `2`. diff --git a/Variables/Boolean operators/task.md b/Variables/Boolean operators/task.md index fbc11749..cd6617ad 100644 --- a/Variables/Boolean operators/task.md +++ b/Variables/Boolean operators/task.md @@ -14,8 +14,6 @@ compares two variables and checks whether they are equal. Use `!=` (not equal) t You will learn more about boolean operators in a later [task](course://Condition expressions/Boolean operators). -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). - ### Task In this task, insert only these tokens where needed: `==`, `!=`, `True`, `False`. The `is` operator checks if two objects are the same – for example, whether a variable is identical to `True` or `False`. diff --git a/Variables/Comparison operators/task.md b/Variables/Comparison operators/task.md index 78efc8d9..8229df65 100644 --- a/Variables/Comparison operators/task.md +++ b/Variables/Comparison operators/task.md @@ -23,7 +23,6 @@ values: either `True` or `False`. Comparisons can be chained arbitrarily, and expressions like `a < b < c` have the conventional mathematical meaning. Read more on comparisons here. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5920?utm_source=jba&utm_medium=jba_courses_links). ### Task - Check whether the value of the variable `three` is strictly greater than the value of diff --git a/Variables/Type conversion/task.md b/Variables/Type conversion/task.md index 07144371..540259df 100644 --- a/Variables/Type conversion/task.md +++ b/Variables/Type conversion/task.md @@ -5,7 +5,6 @@ These functions return a new object representing the converted value. `int(x)` converts `x` into an integer. `float(x)` converts `x` into a floating-point number. `str(x)` converts object `x` into a string representation. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/6224?utm_source=jba&utm_medium=jba_courses_links). ### Task Convert `float_number` into an integer. diff --git a/Variables/Variable definition/task.md b/Variables/Variable definition/task.md index 5b7216d4..016be165 100644 --- a/Variables/Variable definition/task.md +++ b/Variables/Variable definition/task.md @@ -5,7 +5,6 @@ is like a label, and in Python we use the ' `=` ' symbol, known as the assignment operator, to assign a value to a variable. An assignment can be chained, e.g., `a = b = 2`. -For more structured and detailed information, you can refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5859?utm_source=jba&utm_medium=jba_courses_links). ### Task 1. Assign the `World` string to the `name` variable. diff --git a/Variables/Variable types/task.md b/Variables/Variable types/task.md index fc5b7de2..1d911687 100644 --- a/Variables/Variable types/task.md +++ b/Variables/Variable types/task.md @@ -21,7 +21,6 @@ and an `int` is a number without a decimal point. For more information on this topic, refer to the "Objects, values and types" and "The standard type hierarchy" sections in Python Documentation. -For more structured and detailed information, you can also refer to [this Hyperskill knowledge base page](https://hyperskill.org/learn/step/5852?utm_source=jba&utm_medium=jba_courses_links). ### Task Print the type of the variable `float_number`.