Tarea #4 - Edad

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 #4 Primera forma Segunda forma Tercera forma ''' Ubicación: NUC University Recinto: Bayamón
Ejercicio: Tarea #4 Nombre: Yshuel Omar Román Vidal No. Est.: 2103804944 Curso: PROG-3360L Fecha: 1-Noviembre-2023 Profesor: Milton Rojas Álvarez Narrativa: En este trabjo es para calcular entre dos personas es mayor en Python ''' from time import localtime, asctime print("") print(asctime(localtime())) print("") print("") name1=input("Entre un Nombre: ") print("") age1=int(input("Entre edad: ")) print("") name2=input("Entre un Nombre: ") print("") age2=int(input("Entre edad: ")) print("") if age1 > age2: print("El Mayor de las Personas Ingresada es: " + name1) elif age1 < age2: print("El Mayor de las Personas Ingresada es: " + name2) else: print("Las dos personas tienen la misma edad")
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