import pyshorteners

url = input("Please enter the URL: ")

s = pyshorteners.Shortener()

print("Your shortened URL is --> ", s.tinyurl.short(url))