This repository was archived by the owner on Apr 24, 2020. It is now read-only.
Commit d2d0dea
Simplified the answer to exercise 3 in python essentials (#688)
* Changed the implementation of exercise 3 in python essentials to make it
faster, more pythonic and use techniques explained in the text
* Reincorporated the original solution as the implementation is easy to
understand.
The short solution has been left as an alternative.1 parent b04109d commit d2d0dea
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1050 | 1050 | | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1061 | 1071 | | |
1062 | 1072 | | |
1063 | 1073 | | |
| |||
0 commit comments