โ† Target questions
CodingReported in a candidate post, Dec 2023

Process tuple elements without if statements

Filed under Target

The question

Given a tuple containing various types including lists and strings, print any element that is a list or string without using if statements, printing each list element on a new line and the string in a single line.

No write-up yet. Related questions below have one.

Related Target questions

Collected from public candidate posts and coding forums. Updated Nov 2026.