input: Write a function to store the strings "Hello" and "World" and print them in the same line. The function should return True if the operation is successful and False otherwise.
  assert store_and_print("Hello", "World")==True
  assert store_and_print("Hi", "There")==True
  assert store_and_print("", "")==True
  assert store_and_print(None, "World")==False
  assert store_and_print("Hello", None)==False
output: def store_and_print(str1, str2):
      if str1 is None or str2 is None:
          return False
      print(str1 + " " + str2)
      return True