1#How to make a URL Shortener in Python
2
3####You need to install " pip install pyshorteners " in the terminal / powershell
4
5## Code:
6
7import pyshorteners
8link = input("Enter link : ")
9shortener = pyshorteners.Shortener()
10x=shortener.tinyurl.short(link)
11print(x)