instead of using a function, you can use variables that take on the value according to the condition, for the function it would have to have a defined function, it works as if it were a really previously defined function, in fact in the current scheme it performs the actions of simultaneously