Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = float(input())
- b = float(input())
- if a==0 and b!=0:
- print('Error')
- if a==0 and b==0:
- print('any x')
- if a!=0 and b!=0:
- print('x=',-b/a)
- if a!=0 and b==0:
- print('x==0')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement