Question: 5. Zero floor Compose a function, not_negative, that satisfies the following: The function, not_negative, returns the value of its parameter if the parameter is positive,
5. Zero floor Compose a function, not_negative, that satisfies the following: The function, not_negative, returns the value of its parameter if the parameter is positive, but zero otherwise. Args: value (int): Returns: int Drag from here Construct your solution here, including indents 1 2 def not_negative (value): if > 0: return value else: return 3 4 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
