input: Write a python function to calculate the field goal percentage (FG%) of a Player object.
  assert calculate_fg_percentage(Player()) == 0.0
  p1 = Player()
  p1.set_fga(10)
  p1.set_fgm(5)
  assert calculate_fg_percentage(p1) == 50.0
  p2 = Player()
  p2.set_fga(20)
  p2.set_fgm(8)
  assert calculate_fg_percentage(p2) == 40.0
output: def calculate_fg_percentage(player):
      if player.fga == 0:
          return 0.0
      return (player.fgm / player.fga) * 100