""" Create the following functions. You can call them afterwards by typing in their function name and passing in any necesasry arguments to verify. """ """ One. Create a function 'oddify' which takes an argument and returns it untouched if it is currently odd or returns the arg minus 1 if it is even """ """ Two. Create a function 'validate_pass' which checks if the first argument is contained in the string generated by repeating the second argument third argument number of times. If so return 'Pass'; otherwise, 'Fail' """ """ Three. Create a funtion 'categorize' which takes an age argument and returns 'newborn' from 0 to 0.1 'baby' from 0.1 to 2 'toddler' from 2 to 4 'kid' from 4 to 9 'preteen' from 9 to 12 'teen' from 12 to 18 'adult' from 18 to 65 'senior' 65+ otherwise 'unknown' The bottom age is inclusive while the top of the age range is exclusive """ """ Four. Create a function 'calculator' which takes as first argument an operation which is either 'add', 'sub', 'mul', 'div', 'mod' and performs that operation on the second and third argument. If op not one in the list then return 'unknown operation' """ # VALIDATING CODE def print_check(actual, expected): print("actual: " + str(actual) + " expected: " + str(expected)) print_check(oddify(1), 1) print_check(oddify(2), 1) print_check(oddify(4), 3)