input: 
  from re import compile
  
  def string_contains_number(string: str) -> bool:
      """ Check if a given string contains any numbers.
      >>> string_contains_number("Hello123")
      True
      >>> string_contains_number("HelloWorld")
      False
      """
      pattern = compile("[0-9]")
      return pattern.search(string) != None
  
output:     pattern = compile("[0-9]")
      return pattern.search(string) != None