Question: Write a Python Function to meet the following requirements: 1. Accept any Number of Arguments 2. Return True if a. it recieves at least 1
Write a Python Function to meet the following requirements:
1. Accept any Number of Arguments
2. Return True if
a. it recieves at least 1 arugement, and
b. all the arguments are integers, and
c. the argument are either all even or all odd
3. Return False in other situations (including no or invalid arguments)
Create a set of Pytest test functions to this code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
