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