![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
ydsungan
这个作者很懒,什么都没留下…
展开
-
python中用字典优化斐波那契数列
count1 = 0count2 = 0d={1:1,2:1}def myFunc1(n): global count1 count1+=1 if n==1: return 1 if n==2: return 1 return myFunc1(n-1)+myFunc1(n-2)def myFunc2(n): global count2 count2+=1 if n ...原创 2020-01-21 15:16:39 · 1119 阅读 · 1 评论 -
外卖中常见的饮料名称大全
drinks = ["可乐","芬达","雪花啤酒","雪碧","冰糖雪梨","牛栏山","二锅头","体质能量","青梅绿茶", "冰红茶","柚子茶","王老吉","酸梅汤","勇闯天涯","娃哈哈","矿泉水","农夫山泉","汽水","营养快线", "脉动","北冰洋","冰露","今麦郎","橙汁","晶莹葡萄","美年达","百岁山","怡宝",...原创 2019-11-21 16:54:12 · 1739 阅读 · 0 评论