Created
November 16, 2018 19:55
-
-
Save pablovv72/adfe4a863a7103bce7b0987b3c11e613 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Diseñe un algoritmo que calcule cuantos lotes de X mts. salen de X hectareas | |
while True: | |
metros_cuadrados = int(input('Número de hectareas: ')) * 10000 | |
if metros_cuadrados == 0: | |
break | |
lote = int(input('Metros cuadrados por lote: ')) | |
print(f'salen {int(metros_cuadrados / lote)} lotes.') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment