Why does the first line take an argument? [closed]

  Kiến thức lập trình

I need help understanding the first line!

def chest_size(size):
    if size >= 83 and size <= 88:
        return "S"
    elif size >= 89 and size <= 94:
        return "M"
    elif size >= 95 and size <= 101:
        return "L"
    elif size >= 102 and size <= 109:
        return "XL"
    else: return "Sorry we don’t have your size"

New contributor

FDA Consulting is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

4

LEAVE A COMMENT