not necessarily, no
you already used a long series of ifs and never elif
remember that a return stops execution of the function
you can just write in the function directly, without creating a new block
not necessarily, no
you already used a long series of ifs and never elif
remember that a return stops execution of the function
you can just write in the function directly, without creating a new block