diff --git a/curriculum/challenges/english/blocks/lecture-working-with-modules/683ec7b778993c6971b56c83.md b/curriculum/challenges/english/blocks/lecture-working-with-modules/683ec7b778993c6971b56c83.md index 75b58c13cb2..fa0a15501bf 100644 --- a/curriculum/challenges/english/blocks/lecture-working-with-modules/683ec7b778993c6971b56c83.md +++ b/curriculum/challenges/english/blocks/lecture-working-with-modules/683ec7b778993c6971b56c83.md @@ -54,10 +54,10 @@ Let's say that you want to import the `math` module. In that case, you would wri import math ``` -Then, if you need to call a method from that module in your Python script, you would use dot notation, with the name of the module followed by the name of the method: +Then, if you need to call a function from that module in your Python script, you would use dot notation, with the name of the module followed by the name of the function: ```python -module_name.method_name() +module_name.function_name() ``` For example, to get the square root of 36, you would write `math` followed by a dot and then `sqrt`, an abbreviation of square root, and within parentheses, you would pass any necessary arguments. In this case, we only need to pass in the number we want the square root of: diff --git a/curriculum/challenges/english/blocks/review-dictionaries-and-sets/67f39babe1e2ec1fb6eea32a.md b/curriculum/challenges/english/blocks/review-dictionaries-and-sets/67f39babe1e2ec1fb6eea32a.md index c35d7f7b184..00070b3aeb0 100644 --- a/curriculum/challenges/english/blocks/review-dictionaries-and-sets/67f39babe1e2ec1fb6eea32a.md +++ b/curriculum/challenges/english/blocks/review-dictionaries-and-sets/67f39babe1e2ec1fb6eea32a.md @@ -313,10 +313,10 @@ print(5 in my_set) # True import module_name ``` -Then, if you need to call a method from that module, you would use dot notation, with the name of the module followed by the name of the method. +Then, if you need to call a function from that module, you would use dot notation, with the name of the module followed by the name of the function. ```python -module_name.method_name() +module_name.function_name() ``` For example, you would write the following in your code to import the `math` module and get the square root of 36: diff --git a/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md b/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md index c7e5d722b41..4139fa6ad09 100644 --- a/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md +++ b/curriculum/challenges/english/blocks/review-python/67f39e391c9b373069def02c.md @@ -1862,10 +1862,10 @@ print(5 in my_set) import module_name ``` -Then, if you need to call a method from that module, you would use dot notation, with the name of the module followed by the name of the method. +Then, if you need to call a function from that module, you would use dot notation, with the name of the module followed by the name of the function. ```python -module_name.method_name() +module_name.function_name() ``` For example, you would write the following in your code to import the `math` module and get the square root of 36: