Advertisement
InnaSibirova

Антон Турчаков - Урок 1. Задание 2.

Oct 30th, 2018
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. a = 1
  2. b = int(input())
  3. b = b + 1
  4. d = {a: a ** 2 for a in range(b)}
  5. d.pop(0)
  6. print(d)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement