#  3-2 使用列表中的各值
friends = ["z","w","q"]
z_message = "Hello,My firend " + friends[0] + "."
w_message = "Hello,My firend " + friends[1] + "."
q_message = "Hello,My firend " + friends[-1] + "."
print(z_message) 
print(w_message) 
print(q_message) 
