Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a,b,x = map(int,input().split())
- if a == 0:
- if b == 0:
- print('любое число')
- else:
- print('нет решений')
- else:
- if b == 0:
- print('x = 0')
- else:
- print('x =',b/a,' или x =',-b/a);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement