<jupyter_start><jupyter_text>Problem 1: Triangle<jupyter_code># Problem: Using format will return a string, not a float
a = format(1.23456, '.2f')
a, type(a)
# Solution: Use round instead
a = round(1.23456, 2) # round(number, digits_to_keep)
a, type(a)
# Problem: if else logic
# You can have multiple elif statements, like this:
a = 1
b = 2
c = 3
if a > b:
    print('b > c')
elif a > c:
    print('a > c')
elif b > a:
    print('b > a')
elif c < b:
    print('c < b')<jupyter_output>b > a<jupyter_text>```python Solution: replace your (else: if) with another (elif:) instead of thiselse:    if side1 != side2 != side3:        print('this is a scalene triangle')         use thiselif side1 != side2 != side3:        print('this is a scalene triangle')```  Problem 2: Birthday<jupyter_code># The instructions say to use booleans "to store whether Date A and Date B are valid"
# Here is an example:
# I tried to keep it as simple as possible, since I'm not sure what you have learned
# You can make it cleaner by using a function or loop to validate the date instead of repeating code

month_A = 1 # assume the user enters these values
month_B = 1
day_A = 1
day_B = 1
year_A = 2000
year_B = 2000

is_date_A_valid = True # assume the dates are valid
is_date_B_valid = True

# list of how many days in each month
# january (first month, index 0) has 31 days
days_in_month = [31, 29, 31, 30, 29, 30, 31, 31, 30, 30, 30, 31] 
    
if year_A < 0 or month_A < 1 or month_A > 12: # make sure year and month are valid
    is_date_A_valid = False # if invalid, set boolean to False
else:   
    max_days = days_in_month[month_A - 1] # get max days
                                        # if month is jan, user entered 1, but index is 0, so you subtract 1
    if day_A < 1 or day_A > max_days: # make sure day is valid
        is_date_A_valid = False

if year_B < 0 or month_B < 1 or month_B > 12: # same checks for date B
    is_date_B_valid = False
else:   
    max_days = days_in_month[month_B - 1]
    if day_B < 1 or day_B > max_days:
        is_date_B_valid = False

# you should be able to implement comparing the dates to find the older person<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.08839779005524862, 'fraction_numerical': 0.0363720073664825, 'mean_word_length': 3.1708253358925145, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '247531', 'license': 'MIT', 'n_tokens_mistral': 805, 'n_tokens_neox': 729, 'n_words': 314, 'path': 'python/mel/mel.ipynb', 'repo_name': 'beninato8/cs-ta', 'size': '2172'}