CONDITIONALS AND FUNCTIONS
Objective: (a) x is given below. Write an if statement that will print whether x is positive, negative, or zero. x=-10 x = -10 if x == 0: print("x is positive") elif x > 0: print("x is positive") else: print("x is negative") (b) x and y are given below. Write an if statement that will print whether x and y are both positive, or…