技术分享图片
人生三从境界:昨夜西风凋碧树,独上高楼,望尽天涯路。 衣带渐宽终不悔,为伊消得人憔悴。 众里寻他千百度,蓦然回首,那人却在灯火阑珊处。
摘要: 1 1 ##爬取任意地方肯德基的餐厅所有位置信息(数据以获取但还没分析。) 2 2 import requests 3 3 4 4 url = 'http://www.kfc.com.cn/kfccda/ashx/GetStoreList.ashx?op=keyword' 5 5 user_input = input("enter a search:") 6 6 headers = { 7 7 " 阅读全文
posted @ 2019-09-09 20:50 山海郡 阅读(414) 评论(0) 推荐(0)
摘要: 1、写函数,接受n个数字,求这些参数数字的和。(动态传参) 2、读代码,回答:代码中,打印出来的值a, b, c分别是什么?为什么? a = 10 b = 20 def test(a, b): print(a, b) c = test(b,a) print(c) 3、读代码,回答:代码中,打印出来的 阅读全文
posted @ 2019-09-09 17:57 山海郡 阅读(471) 评论(0) 推荐(0)