Define a function called min that takes two parameters containing integer values and returns the smaller integer of the two. If they have equal value, return either one.
def min(int1,int2):
if int1<int2:
return int1
elif int2<int1:
return int2
else:
return int1 or int2
Learn More :
Top 1000 Questions
- A Omar ____ ir de compras.
- A ti y a mí ____ el baile.
- A Marcela ____ los libros.
- A mis amigos ____ los museos.
- A ella ____ el ciclismo.
- A ustedes ____ el béisbol.
- A ti ____ las películas.
- A usted ____ los viajes.
- A mí ____ las revistas.
- A Jorge y a Luis ____ los perros.
- A nosotros ____ las vacaciones.
- A usted ____ jugar al tenis.
- A mi esposo y a mí ____ dormír.
- A Alberto ____ dibujar y pintar.
- A todos ____ opinar.
- A Pili ____ los sombreros.
- A nosotras ____ cantar.
- A ustedes ____ leer.
- A ti ____ correr y patinar.
- A ellos ____ los aviones.
- A mis padres ____ caminar.
- ¿Buscaron ustedes a alguien en la playa?
- ¿Te gusta alguno de estos trajes?
- A mí ____ bailar.
- ¿Quieres comer algo ahora?
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.