I have a function that accepts multiple arguments. I can call it like:
i_take_strings('one', 'two', 'and_the_letter_C')
But suppose I want to determine the arguments dynamically, for example, by splitting a string. I tried:
s = 'one two and_the_letter_c'
i_take_strings(x for x in s.split())
but I get an error message. What is wrong, and how do I fix it?