True/False gate

Hi all,
I want to append the string if the list is empty, if not output will append the list.

Is it wrong somewhere?

never mind, I resolve it!

Posting the correct code would be the solution :wink:

My guess would be that it was just an indentation problem, but you are still totally correct :slight_smile:

1 Like

And an iteration perhaps? :slight_smile:

Maybe… :slight_smile:
But given that we don’t have access to the inputs, it is hard to tell haha

Haha, yeah thats true :slight_smile:.

I thought it was something like this he was after:


It was definitely an identation problem. Lines 7,8 and 9 should have one tab less

1 Like