Tariqul_Islam

URI 1005

Jan 11th, 2021
583
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = float (input(""))
  2. b = float (input(""))
  3. c = "{:.2f}".format(a)
  4. d = "{:.2f}".format(b)
  5. e = float(c)*3.5
  6. f = float(d)*7.5
  7. sum = float(e)+float(f)
  8. avg = sum/(3.5+7.5)
  9. formatted_float = "{:.5f}".format(avg)
  10. print("MEDIA =",formatted_float)
RAW Paste Data