Question: Conditionals 4 A). Write a function called is, odd. Given a number, is odd retums whether the given number is odd output = irodd(9) print

Conditionals 4 A). Write a function called "is, odd". Given a number, "is odd" retums whether the given number is odd output = irodd(9) print (output) # --> True PYTHON defis odd(num): 2 3 pass B). Write a function called "is same length". Given two words, "is same length" retums whether the given words have the same length. output = i-u-ame length('words', super) print (output) # --> True PYTHON36 1 - def is_same_length(word, word2): # your code here pass C). Write a function called "are both odd". Given 2 numbers, "are both odd" retums whether or not both of the given numbers are odd. output = ars both odd(1, 3) print (output) # --> True PYTHON 1 2 def are_both_odd (muumi, mum2): # your code here pass D). Write a function called "is either even Given two numbers, "is, either even" retums whether or not either one of the given numbers is even. output = i.ithisyen (1, 4) print (output) # --> True E PYTHON36 1. def ls_either_even(numi, num2): #your code here 3 pass
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
