break-the-ice-with-python icon indicating copy to clipboard operation
break-the-ice-with-python copied to clipboard

Here's my solution to exercise 3

Open Zachary-Wu opened this issue 5 years ago • 0 comments

num = int(input()) result = {} for i in range(1, num + 1): result.setdefault(i, i * i) i += 1

print(result)

Zachary-Wu avatar Jul 24 '20 01:07 Zachary-Wu