We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ebc728 commit 03eb638Copy full SHA for 03eb638
Status/Day 1.md
@@ -79,6 +79,8 @@ print fact(x)
79
```
80
* **Using Lambda Function**
81
```python
82
+ # Solution by: harshraj22
83
+
84
n = int(input())
85
def shortFact(x): return x if x is 1 else x*shortFact(x-1)
86
print(shortFact(n))
@@ -136,4 +138,4 @@ print(ans)
136
138
137
139
140
-[***Discussion***](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/issues/3)
141
+[***Discussion***](https://github.com/darkprinx/100-plus-Python-programming-exercises-extended/issues/3)
0 commit comments