There was an error while loading. Please reload this page.
1 parent a50c849 commit 1c4c67fCopy full SHA for 1c4c67f
Status/Day 1.md
@@ -188,12 +188,11 @@ print(ans)
188
---
189
```python
190
'''Solution by: minnielahoti
191
+ Corrected by: TheNobleKnight
192
'''
193
-while True:
194
try:
195
num = int(input("Enter a number: "))
196
- break
197
except ValueError as err:
198
print(err)
199
@@ -202,7 +201,7 @@ for item in range(num+1):
202
201
if item == 0:
203
continue
204
else:
205
- dictio[item] = item * item
+dictio[item] = item * item
206
print(dictio)
207
```
208
0 commit comments