擅长:python、mysql、java
<pre><code>dinnerGuest = ['Steve Jobs', 'Tupac Shakur', 'Kobe Bryant']
message = """You have been cordially invited to an epic dinner.
Please RSVP as soon as possible. Thank you""" + dinnerGuest[0].title() + "."
print(message)
</code></pre>
<p>title()是一个函数-它接受某个对象并将其转换为其他对象。你知道吗</p>
<p>无论何时使用函数,都要在末尾加括号。你知道吗</p>