Skip to content

Commit 96a61c4

Browse files
committed
2 parents 144998b + f14d780 commit 96a61c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Status/Day 1.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,11 @@ print(dictio)
207207
---
208208
```python
209209
'''Solution by: yurbika
210+
Corrected by: developer-47
210211
'''
211212

212213
num = int(input("Number: "))
213-
print(dict(list(enumerate((i * i for i in range(num+1))))))
214+
print(dict(enumerate([i*i for i in range(1, num+1)], 1)))
214215
```
215216
---
216217
## Conclusion

0 commit comments

Comments
 (0)