boris-vlasenko

Untitled

Jan 27th, 2016
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. a,b,x = map(int,input().split())
  2. if b == 0:
  3.     print('x=0')
  4. else:
  5.     if a == 0:
  6.         print('нет решений')
  7.     else:
  8.         print('x =',-b/a);
Advertisement
Add Comment
Please, Sign In to add comment