fork download
  1. a,b=map(float, input().split())
  2. if a!=0:
  3. print(f"{-b/a:.1f}")
  4. else:
  5. if b==0:
  6. print("Vo_so_nghiem")
  7. else:
  8. print("Vo_nghiem")
Success #stdin #stdout 0.02s 9196KB
stdin
1 2
stdout
-2.0