How many elsifs can you have? Is it infinite?


#1

Just a general question.


#2

maybe there is a limit, if your computer runs out of memory (bit unlikely)

But if you consider using a lot of else if statements, you should check the logic of your code. From considering switch statement to a rewrite of the logic of your code


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.