<jupyter_start><jupyter_text>Examples Example 1: Basic If Else Example<jupyter_code>age = 25

if age > 21:
    print('You can serve this person beer.')
elif 21 > age >=18:
    print('No beer. Mark hand with X.')
else:
    print('Call the bouncer and have this person thrown out.')<jupyter_output><empty_output><jupyter_text>Example 2: Nested If Else Example<jupyter_code>age = 21
all_ages_show = True
birthday_on_id_equals_today = True

if age >= 21:
    print('You can serve this person beer.')
    if birthday_on_id_equals_today:
        print('HAPPY BIRTHDAY! FREE SHOTS!')
elif 21 > age >=18:
    if all_ages_show:
        print('No beer. Mark hand with X.')
    else:
        print('Call the bouncer and have this person thrown out.')
else:
    print('Why is there a child in the bar?!')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10462287104622871, 'fraction_numerical': 0.021897810218978103, 'mean_word_length': 3.92814371257485, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '489301', 'license': 'MIT', 'n_tokens_mistral': 306, 'n_tokens_neox': 282, 'n_words': 93, 'path': '02 Basics/08-control-flow-if-else.ipynb', 'repo_name': 'MassStreetUniversity/tutorial-python', 'size': '822'}