Easier way to write if else statement

Thank you it was the for loop approach i was looking for

1 Like