Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. s = input()
  2. a = float(s.split('=')[1])
  3. if a > 0:
  4. print(a, -a)
  5. if a == 0:
  6. print('0')
  7. if a < 0:
  8. print('No solution')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement