擅长:python、mysql、java
<p>如果我理解正确,您需要编写<code>guest_lists()</code>函数来打印每个来宾的信息。在这种情况下,您可以迭代列表并打印每个条目的信息,如-</p>
<pre><code>def guest_list(guests):
for (name, age, profession) in guests:
print("{} is {} years old and is a {}".format(name, age, profession))
</code></pre>