Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Юра и заселение
import sys f=input().strip() k=[x.strip().split() for x in sys.stdin.readlines()] print(k) r=0 for i,y in k: if int(y)-int(i)>=2: r+=1 else: pass print(r)
run
|
edit
|
history
|
help
0
Test
PySort
ok
Bubble sort
Prac1_2
Hello,world
Random SUm
reverse the number
ConstructorBehaviourInInheritance
Prime Factorization of a Number