Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
type: edu
files:
- name: call_method.py
visible: true
placeholders:
- offset: 208
length: 12
placeholder_text: "# TODO: set the exponentiation `base`, it should be equal to\
- name: call_method.py
visible: true
placeholders:
- offset: 208
length: 12
placeholder_text: "# TODO: set the exponentiation `base`, it should be equal to\
\ the current value."
- offset: 268
length: 19
placeholder_text: "# TODO: use the `multiply` method with the parameter `base`\
- offset: 268
length: 19
placeholder_text: "# TODO: use the `multiply` method with the parameter `base`\
\ to calculate the result."
- name: tests/test_task.py
visible: false
- name: __init__.py
visible: false
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
- name: __init__.py
visible: false
- name: tests/__init__.py
visible: false
40 changes: 20 additions & 20 deletions Classes and objects/Class and Instance Variables 2/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
type: edu
files:
- name: class_instance2.py
visible: true
placeholders:
- offset: 16
length: 15
placeholder_text: "# TODO: add a mutable class variable (all_cities list) to store\
- name: class_instance2.py
visible: true
placeholders:
- offset: 16
length: 15
placeholder_text: "# TODO: add a mutable class variable (all_cities list) to store\
\ all added city names"
- offset: 185
length: 15
placeholder_text: "# TODO: call add_city method to add the city name to the list\
- offset: 185
length: 15
placeholder_text: "# TODO: call add_city method to add the city name to the list\
\ upon object initialization"
- offset: 234
length: 33
placeholder_text: |-
pass
# TODO: implement a method that will append a city name to the all_cities list. Delete the pass statement!
- name: tests/test_task.py
visible: false
- name: __init__.py
visible: false
- name: tests/__init__.py
visible: false
- offset: 234
length: 33
placeholder_text: |-
pass
# TODO: implement a method that will append a city name to the all_cities list. Delete the pass statement!
- name: tests/test_task.py
visible: false
- name: __init__.py
visible: false
- name: tests/__init__.py
visible: false
34 changes: 17 additions & 17 deletions Classes and objects/Class and Instance Variables/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
type: edu
files:
- name: class_instance_variables.py
visible: true
placeholders:
- offset: 983
length: 13
placeholder_text: '# Add a class variable `kind` and assign it the required value.'
- offset: 1088
length: 16
placeholder_text: pass
- offset: 1113
length: 22
placeholder_text: '# Add an instance variable `species`.'
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Class+and+Instance+Variables
- name: class_instance_variables.py
visible: true
placeholders:
- offset: 983
length: 13
placeholder_text: "# Add a class variable `kind` and assign it the required value."
- offset: 1088
length: 16
placeholder_text: pass
- offset: 1113
length: 22
placeholder_text: "# Add an instance variable `species`."
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Class+and+Instance+Variables
28 changes: 14 additions & 14 deletions Classes and objects/Definition/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
type: edu
files:
- name: class_definition.py
visible: true
placeholders:
- offset: 30
length: 2
placeholder_text: ???
- offset: 253
length: 9
placeholder_text: ???
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Definition
- name: class_definition.py
visible: true
placeholders:
- offset: 30
length: 2
placeholder_text: ???
- offset: 253
length: 9
placeholder_text: ???
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Definition
22 changes: 11 additions & 11 deletions Classes and objects/Special __init__ method/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
type: edu
files:
- name: init_method.py
visible: true
placeholders:
- offset: 158
length: 18
placeholder_text: ???
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Special+init+method
- name: init_method.py
visible: true
placeholders:
- offset: 158
length: 18
placeholder_text: ???
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Special+init+method
28 changes: 14 additions & 14 deletions Classes and objects/The self parameter/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
type: edu
files:
- name: self_parameter.py
visible: true
placeholders:
- offset: 484
length: 22
placeholder_text: '# Update the current attribute by adding the amount to it.'
- offset: 550
length: 12
placeholder_text: ???
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+The+self+parameter
- name: self_parameter.py
visible: true
placeholders:
- offset: 484
length: 22
placeholder_text: "# Update the current attribute by adding the amount to it."
- offset: 550
length: 12
placeholder_text: ???
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+The+self+parameter
40 changes: 20 additions & 20 deletions Classes and objects/Update variable/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
type: edu
custom_name: Update variable
files:
- name: update_variable.py
visible: true
placeholders:
- offset: 212
length: 5
placeholder_text: ???
- offset: 252
length: 5
placeholder_text: ???
- offset: 291
length: 18
placeholder_text: '''Call description() method of car2'''
- offset: 265
length: 18
placeholder_text: '''Call description() method of car1'''
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Update+variable
- name: update_variable.py
visible: true
placeholders:
- offset: 212
length: 5
placeholder_text: ???
- offset: 252
length: 5
placeholder_text: ???
- offset: 265
length: 18
placeholder_text: '''Call description() method of car1'''
- offset: 291
length: 18
placeholder_text: '''Call description() method of car2'''
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Update+variable
28 changes: 14 additions & 14 deletions Classes and objects/Variable access/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
type: edu
files:
- name: access_variable.py
visible: true
placeholders:
- offset: 347
length: 19
placeholder_text: '''Print variable1 from my_object'''
- offset: 374
length: 15
placeholder_text: '''Call method foo() of object my_object'''
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Variable+access
- name: access_variable.py
visible: true
placeholders:
- offset: 347
length: 19
placeholder_text: '''Print variable1 from my_object'''
- offset: 374
length: 15
placeholder_text: '''Call method foo() of object my_object'''
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Classes+and+Objects+/+Variable+access
19 changes: 9 additions & 10 deletions Classes and objects/lesson-info.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
content:
- Definition
- Variable access
- Update variable
- The self parameter
- Call a method from another method
- Special __init__ method
- __str__ vs __repr__
- Class and Instance Variables
- Class and Instance Variables 2

- Definition
- Variable access
- Update variable
- The self parameter
- Call a method from another method
- Special __init__ method
- __str__ vs __repr__
- Class and Instance Variables
- Class and Instance Variables 2
22 changes: 11 additions & 11 deletions Condition expressions/Boolean operators order/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
type: edu
files:
- name: boolean_order.py
visible: true
placeholders:
- offset: 110
length: 53
placeholder_text: '''???'''
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Condition+Expressions+/+Boolean+Operators+Order
- name: boolean_order.py
visible: true
placeholders:
- offset: 110
length: 53
placeholder_text: '''???'''
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Condition+Expressions+/+Boolean+Operators+Order
22 changes: 11 additions & 11 deletions Condition expressions/Boolean operators/task-info.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
type: edu
files:
- name: boolean_operators.py
visible: true
placeholders:
- offset: 127
length: 28
placeholder_text: ???
- name: tests/test_task.py
visible: false
- name: tests/__init__.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Condition+Expressions+/+Boolean+Operators
- name: boolean_operators.py
visible: true
placeholders:
- offset: 127
length: 28
placeholder_text: ???
- name: tests/test_task.py
visible: false
- name: tests/__init__.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Condition+Expressions+/+Boolean+Operators
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
type: edu
files:
- name: else_elif.py
visible: true
placeholders:
- offset: 352
length: 18
placeholder_text: '# TODO: check if name is equal to "John"'
- offset: 387
length: 5
placeholder_text: '# TODO: otherwise...'
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
- name: else_elif.py
visible: true
placeholders:
- offset: 352
length: 18
placeholder_text: "# TODO: check if name is equal to \"John\""
- offset: 387
length: 5
placeholder_text: "# TODO: otherwise..."
- name: tests/__init__.py
visible: false
- name: tests/test_task.py
visible: false
feedback_link: https://docs.google.com/forms/d/e/1FAIpQLSfRlDlldKfuq-cHMNFfHMER61P1PRIan7KG6yp1GvaweDI7GA/viewform?usp=pp_url&entry.2103429047=Condition+Expressions+/+Else+and+Elif
Loading