Tarea #3 - Densidad

docx

School

National University College-Caguas *

*We aren’t endorsed by this school

Course

3360L

Subject

Computer Science

Date

Nov 24, 2024

Type

docx

Pages

2

Uploaded by CountOryxMaster330

Report
Yshuel Omar Román Vidal 31/10/2023 PROG-3360L Prof. Milton Rojas A. Python & Lab. Ejercicio #3 ''' Ubicación: NUC University Recinto: Bayamón Ejercicio: Tarea #3 Nombre: Yshuel Omar Román Vidal No. Est.: 2103804944 Curso: PROG-3360L Fecha: 30-Octubre-2023 Profesor: Milton Rojas Álvarez Narrativa: En este trabajo es para calcular la densidad de población de un lugar en Python ''' from time import localtime, asctime print("") print(asctime(localtime())) print("") print("") print("Densidad Por Kilometro")
pue=input("Ingrese el Nombre del Pueblo: ") print("") pobl=float(input("Ingresa la cantidad de Población: ")) print("") terr=float(input("Ingresa el Tamaño de la Superficie: ")) print("") dense=float(pobl)/(terr) print("La Densidad Poblacional es de: {}".format(dense)+ "por hab/km2")
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help