code: def test_digits_needed():
      assert digits_needed(0) == 1
      assert digits_needed(1) == 1
      assert digits_needed(12) == 2
      assert digits_needed(333) == 3
      assert digits_needed(100) == 3
      assert digits_needed(3000) == 4
      assert digits_needed(50000) == 5
  
imports: from hailtop.utils import partition, url_basename, url_join, url_scheme, url_and_params, parse_docker_image_reference, grouped
  from hailtop.utils.utils import digits_needed, unzip, filter_none, flatten
label_desc: Use image node_id 22 for calling a global function with example usage: test_digits_needed() without return types