input: Write a function that prints out every number from 0 to 10, with each number being multiplied by 2. If the input is invalid or not applicable, the function should handle it gracefully.
  assert print_doubled_numbers()==None
  assert print_doubled_numbers()==None
  assert print_doubled_numbers()==None
  assert print_doubled_numbers()==None
  assert print_doubled_numbers()==None
output: def print_doubled_numbers():
      for i in range(11):
          print(i * 2)