code: def extra_space_exists(str1: str, str2: str) -> bool:  # noqa
      
      ls1, ls2 = len(str1), len(str2)
      if str1.isdigit():
          # 10 SM
          if str2 in ['SM', '0SM']:
              return True
          # 12 /10
          if ls2 > 2 and str2[0] == '/' and str2[1:].isdigit():
              return True
      if str2.isdigit():
          # OVC 040
          if str1 in CLOUD_LIST:
              return True
          # 12/ 10
          if ls1 > 2 and str1.endswith('/') and str1[:-1].isdigit():
              return True
          # 12/1 0
          if ls2 == 1 and ls1 > 3 and str1[:2].isdigit() and '/' in str1 and str1[3:].isdigit():
              return True
          # Q 1001
          if str1 in ['Q', 'A']:
              return True
      # 36010G20 KT
      if str2 == 'KT' and str1[-1].isdigit() \
              and (str1[:5].isdigit() or (str1.startswith('VRB') and str1[3:5].isdigit())):
          return True
      # 36010K T
      if str2 == 'T' and ls1 >= 6 \
              and (str1[:5].isdigit() or (str1.startswith('VRB') and str1[3:5].isdigit())) and str1[-1] == 'K':
          return True
      # OVC022 CB
      if str2 in CLOUD_TRANSLATIONS and str2 not in CLOUD_LIST and ls1 >= 3 and str1[:3] in CLOUD_LIST:
          return True
      # FM 122400
      if str1 in ['FM', 'TL'] and (str2.isdigit() or (str2.endswith('Z') and str2[:-1].isdigit())):
          return True
      # TX 20/10
      if str1 in ['TX', 'TN'] and str2.find('/') != -1:
          return True
      return False
docs: Return True if a space shouldn't exist between two items