Advertisement
T-D-K

Untitled

Apr 26th, 2018
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import math;
  2. b = float(input())
  3. if (b > 0):
  4.     print("all")
  5. else:
  6.     if (b == 0):
  7.         print("x<0 x>0")
  8.     else:
  9.         q = math.sqrt(-b);
  10.         print("x<-"+str(q)+" x>"+str(q))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement