if else-if making code look ugly any cleaner solution?
<p>I have around 20 functions (is_func1, is_fucn2, is_func3...) returning boolean</p>

<p>I assume there is only one function which returns true and I want that!</p>

<p>I am doing:</p>

<pre><code>if is_func1(param1, param2):
    # I pass 1 to following
    abc(1) # I pass 1
    some_list.append(1)
elif is_func2(param1, param2):
    # I pass 2 to following
    abc(2) # I pass 1
    some_list.append(2)
...
.
.
elif is_func20(param1, param2):
...
</code></pre>

<p>Please note: param1 and param2 are different for each, abc and some_list take parameters depending on the function.</p>

<p>The code looks big and there is repetition in calling abc and some_list, I can pull this login in a function! but is there any other cleaner solution?</p>

<p>I can think of putting functions in a data structure and loop to call them.</p>
