input: Write a function to calculate the diameter of a particle given its radius.
  assert particle_diameter(0.75) == 1.5
  assert particle_diameter(1.2) == 2.4
  assert particle_diameter(0) == 0
output: def particle_diameter(radius):
      return 2 * radius