<jupyter_start><jupyter_text>If Statement<jupyter_code>ref = {
    1: 3612, 
    2: 4129, 
    3: 4645, 
    4: 5158, 
    5: 5575,
    6: 5965, 
    7: 6400, 
    8: 6812
}

def determine_eligibility(zip, zipRange, family_size, income, ref):
  low, high = zipRange[0], zipRange[1]

  if zip not in range(low, high):
    return f"Assistance not provided in zip-code: {zip}."
  
  if income <= ref[family_size]:
    return "User qualifies for rental assistance!"
  
  return "Application Pending - income exceeds limit"


result = determine_eligibility(99019, [99001, 99224], 4, 20000, ref)
print(result)<jupyter_output>Application Pending - income exceeds limit
{'fraction_non_alphanumeric': 0.11346444780635401, 'fraction_numerical': 0.09531013615733737, 'mean_word_length': 3.5972222222222223, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '233381', 'license': 'MIT', 'n_tokens_mistral': 288, 'n_tokens_neox': 236, 'n_words': 68, 'path': 'notebooks/python_script.ipynb', 'repo_name': 'BrianThomasRoss/data-science-1', 'size': '661'}