If Then code block doesn't work with substring

Hi, could anyone explain why my code block is behaving the way it is? The two code block is identical and input in both of them is a list so why is the output different and how do i solve this?

The bottom version is using “”, not “1” like the top one for No

In the first image, here you could try string to number or do so a== “20” and a== “24”…

Hope it helps

Thank you that works, do you know why? Whats the difference in the lists?

the first one you feed in strings, the other one intergers :wink: