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: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ Following project contains [Python3](https://docs.python.org/3/) implementation
4
4
> "Talk is cheap. Show me the code."
5
5
> ― Linus Torvalds
6
6
7
+
<br />
8
+
7
9
### Format of the Programs :
8
10
```
9
11
1. # <link reffering to the respective GeeksforGeeks page>
@@ -31,6 +33,8 @@ For better code understanding, please follow the [Style guide for python](https:
31
33
> "Good code is its own best documentation. As you’re about to add a comment, ask yourself, ‘How can I improve the code so that this comment isn’t needed?'"
32
34
> – Steve McConnell
33
35
36
+
<br />
37
+
34
38
**Imp :** In the code, provide [Function Annotations](https://www.python.org/dev/peps/pep-3107/) as per [PEP 3107 -- Function Annotations](https://www.python.org/dev/peps/pep-3107/)**for every parameter passed in a function**. Return type specification is optional.
35
39
36
40
Annotations for *parameters* take the form of optional expressions that follow the parameter name:
@@ -58,6 +62,8 @@ def sum() -> int:
58
62
59
63
```
60
64
65
+
<hr />
66
+
61
67
##### **Note** : this is not affiliated with GeeksforGeeks in any way other than for reference purpose.
62
68
63
69
##### **Also Note** : the code implemetation (and sometimes even algorithm) might be different than the one in GeeksforGeeks. The decision is upon the author and author alone. New Algorithms for the same problem statement may be added in the future.
0 commit comments