break-the-ice-with-python
break-the-ice-with-python copied to clipboard
Here's my solution to exercise 3
num = int(input()) result = {} for i in range(1, num + 1): result.setdefault(i, i * i) i += 1
print(result)