+ 1
Function Arguments-Python
Problem: Fill in the blanks to define a function that prints "Yes", if its parameter is an even number, and "No" otherwise. def even(x): if x%2 == 0 print("Yes") **what goes here under the print statement to call the function? Also it is between 1-6 characters.
1 Odpowiedź
+ 2
#call the function "even()" with an int
#also make sure you align your
#function call to the far left
even(1)
even(2)