Advertisement
Mancolo

Решенная задача 4 python

Apr 18th, 2021
667
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. n = int(input())
  2. x = [int(i) for i in input().split()]
  3. a = [int(i) for i in input().split()]
  4. x.insert(a[1]-1,a[0])
  5. print(" ".join([str(i) for i in x]))
  6. input()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement