Contenido del Curso
Python Functions: From Zero to Hero
Python Functions: From Zero to Hero
Challenge 2
Tarea
You have to implement a function called numbers()
, which has three parameters: x
, y
, z
with a default value of x = 10
. This function should display the sum of these three numbers if
y is greater than 33; if y is less than 33, then the function should display the product of these three values. The input for this function will be 34
, 6274
.
¡Gracias por tus comentarios!
Challenge 2
Tarea
You have to implement a function called numbers()
, which has three parameters: x
, y
, z
with a default value of x = 10
. This function should display the sum of these three numbers if
y is greater than 33; if y is less than 33, then the function should display the product of these three values. The input for this function will be 34
, 6274
.
¡Gracias por tus comentarios!
Challenge 2
Tarea
You have to implement a function called numbers()
, which has three parameters: x
, y
, z
with a default value of x = 10
. This function should display the sum of these three numbers if
y is greater than 33; if y is less than 33, then the function should display the product of these three values. The input for this function will be 34
, 6274
.
¡Gracias por tus comentarios!
Tarea
You have to implement a function called numbers()
, which has three parameters: x
, y
, z
with a default value of x = 10
. This function should display the sum of these three numbers if
y is greater than 33; if y is less than 33, then the function should display the product of these three values. The input for this function will be 34
, 6274
.