almacenamiento={
    "KB": 1024,
    "MB": 1024*1024,
    "GB": 1024*1024*1024,
    "TB": 1024*1024*1024*1024,
}

gb=float(input("Ingresa cantidad en Gigabytes: "))

print(gb,"gigabytes es igual a", gb*almacenamiento["MB"], "Megabytes")
print(gb,"gigabytes es igual a", gb*almacenamiento["TB"], "Terabytes")
print(gb,"gigabytes es igual a", gb*almacenamiento["KB"], "Kilobytes")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: