擅长:python、mysql、java
<p>只需确保将输入附加到返回的列表中:</p>
<pre><code>def location_description():
'''given the user input for s number of locations, creates s amount of lines to describe each location'''
location_num = int(num_locations())
lines = []
for x in range(location_num):
lines.append(input())
return lines
</code></pre>