# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# # Simpson Function

def simpsongender(hair, weight, age):
    if weight >= 160:
        return 'M'


simpsongender(8, 290, 38)


def iris(petallength, petalwidth):
    if petalwidth <= .08:
        if petalwidth <= 1.75 and petallength <= 4.95:
            if petalwidth <= 1.65:
                return 'class2'
            else:
                return 'class3'
        else:
            return 'class3'
    else:
        return 'class1'


iris(1.7,  .02)



StarcoderdataJupyterScriptsDedupFiltered