Two buttons - one output

why do you need to have the argument like that?

Sometimes my programming gets convoluted, and gets better after I've thought about it some more.