Challenge 2
Swipe to start coding
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
.
Ratkaisu
Kiitos palautteestasi!
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Tiivistä tämä luku
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 5.56
Challenge 2
Pyyhkäise näyttääksesi valikon
Swipe to start coding
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
.
Ratkaisu
Kiitos palautteestasi!
Awesome!
Completion rate improved to 5.56single