Advertisement
teslariu

volumen

Jan 19th, 2023
974
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #
  4. from aritmetica import cubo as volumen, ingresar_nro as ingresar_lado
  5. """Script que calcula el volumen de un cubo"""
  6.  
  7. lado = ingresar_lado()
  8. print(f"El volumen del cubo de lado {lado} es {volumen(lado)}")
  9.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement