Question: Create a new Python window/file a nd save it as lab3_checkpoint 1 .py in the cs104lab3 folder . Complete the following function called is_even that
Create a new
Python window/file a
nd save it as lab3_checkpoint
1
.py in
the
cs104lab3
folder
.
Complete the following
function called
is_even
that takes
an integer parameter
x
, and prints
Even
if
x
is an even number or
O
dd
otherwise.
Call this function by passing
some
integer values
.
Note: All even numbers are divisible by 2 and the remainder is zero.
def is_even(x):
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
