input: Write a python function to calculate salary based on hours worked.
  assert calculate_salary(10) == 80.0
  assert calculate_salary(25) == 200.0
  assert calculate_salary(0) == 0.0
output: def calculate_salary(hours_worked):
      hourly_rate = 8.0
      return hours_worked * hourly_rate