Jose Velasquez

Generation

generate functionWed, 29 Mar 2023

escribe un programa que lea cuatro números y determine y determine cual de ellos es el mayor

def mayor(a, b, c, d): if a > b and a > c and a > d: return a elif b > a and b > c and b > d: return b elif c > a and c > b and c > d: return c else: return d mayor(1,2,3,4)

Questions about programming?Chat with your personal AI assistant