创建一段代码,决定我的旅行城市
import random #导入随机函数 Import random function
from random import choice #导入选取功能 Import selection function
#定义列表中的地点 Define the cities in the list
listLL = ['深圳','东莞','中山','珠海','江门','肇庆','惠州','汕头','潮州',
'揭阳','汕尾','湛江','茂名','阳江','韶关','清远','云浮','梅州','河源']
#生成随机地点 Generate random locations
a = choice(listLL)
#输出随机地点
print('您即将前往:%s 祝您旅途愉快!!!'%(a))