You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Days-11-14.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
- Functions are reusable blocks of code that perform a specific task.
3
3
- You can define your own functions in Python.
4
4
5
+
5
6
**Example of defining and calling a function:**
6
7
```python
7
8
defgreet(name):
@@ -52,4 +53,4 @@ import my_module
52
53
my_module.greet("Bob") # Call the greet function from the custom module.
53
54
```
54
55
55
-
Understanding functions and modules is crucial for writing organized and reusable code in Python. You can create your own functions and modules to efficiently structure your programs and make them more maintainable. Practice with these examples to become proficient in using functions and modules in your Python projects.
56
+
Understanding functions and modules is crucial for writing organized and reusable code in Python. You can create your own functions and modules to efficiently structure your programs and make them more maintainable. Practice with these examples to become proficient in using functions and modules in your Python projects.
0 commit comments