Twin prime numbers

Program to write twin prime numbers using python
Can some one explain this

Input : 20
Output in below format: 3:5,5:7,11:13,17:19