Answer:
def countup():
pass
def countdown():
pass
x = int(input("Choose a number: "))
if x >= 0:
countup()
if x < 0:
countdown()
Explanation:
I start by getting a user input which is saved to variable called "x." I then make if statements to see whether is greater than, equal to, or less than 0. After that, I call the functions.
Answer:
Explanation:
Explicit Dependencies
<u>It states that the classes and methods should explicitly require , via constructor or method parameters all the collaborating objects that are required for the function to work properly .</u>
Classes with the implicit dependencies cost very high for the maintenance than the explicit dependencies .
Even , the implicit dependencies are difficult to test as they are tightly coupled to their collaborators .