猫史档案馆


【编程一小时】[S2~通天塔63层解析!]

用户:秋葵秋葵查看:12 回复:44 评论:12 创建时间:2018-12-06T20:54:26


久等了,63层通天塔已经来了!

emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了

题目1 不吃不喝的创业少年在深圳买房的故事

center_image

分析:

1.一行两个整形数据

2.建立一个循环,增值每年的总金额和房价

3.用if 语句进行比较总金额和房价打印年份

4.在for循环外建立else语句,如果函数体没有被破坏则打印“Impossible”

emotion_编程猫_搓头emotion_编程猫_搓头emotion_编程猫_搓头

输出例子:

center_image

 

代码解析:

center_image

emotion_编程猫_点赞emotion_编程猫_点赞emotion_编程猫_点赞

题目2 组合加排序center_image

分析:

1.两行两个列表

2.进行列表相加并排序

 

代码解析:

center_image

emotion_编程猫_冷漠emotion_编程猫_冷漠emotion_编程猫_冷漠

题目3 合成列表center_image

分析:

1.两行获取两个列表

2.打印相加后的列表

emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了

自己动手试一试吧!毕竟实践出真知!

emotion_编程猫_紧张emotion_编程猫_紧张emotion_编程猫_紧张

(训练师们可以参考题目2,来自己尝试做一做题目3哦!)

emotion_编程猫_晚安emotion_编程猫_晚安emotion_编程猫_晚安


回复

上一页1 页 / 共 2下一页
秋葵秋葵

自古沙发归楼主

点赞0


评论


秋葵秋葵

楼主去肝英语作文了告辞!

点赞0


评论


霸气黑糖霸气黑糖

emotion_编程猫_点赞emotion_编程猫_点赞emotion_编程猫_点赞

点赞0


评论


活动喵活动喵

恭喜秋葵发布编程一小时帖子/作品一篇,个人积分+2,个人积分累计截止到12月9日,活动详情请查看链接:https://www.codemao.cn/community/167979

再接再厉,活动喵相信你能成功带回个人奖品!

点赞0


评论


活动喵活动喵

恭喜萌新院发布编程一小时帖子/作品一篇,工作室积分+2,工作室积分累计截止到12月12日,请在12月12日之前不要删除帖子,否则新增积分失效哦~
再接再厉,活动喵相信你们工作室能成功拿下前六,获得工作室专属荣誉及奖品!

点赞0


评论


奇葩的气泡o_O奇葩的气泡o_O

emotion_编程猫_点赞

点赞0


评论


SunTZRSunTZR

emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了

emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了

emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了

emotion_编程猫_厉害了emotion_编程猫_厉害了

emotion_编程猫_厉害了

点赞0


评论


友爱的导弹鲨VCOy友爱的导弹鲨VCOy

emotion_编程猫_点赞

点赞0


评论


叶无颜叶无颜

emotion_编程猫_厉害了

点赞0


评论


遇鱼遇鱼

emotion_星能猫_爱你emotion_编程猫_点赞emotion_编程猫_点赞

点赞0


评论


遇鱼遇鱼

emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了emotion_编程猫_溜了溜了

点赞0


评论


遇鱼遇鱼

emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了      emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了                      emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了                                                          emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了                                                                                      emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了                                                                                                                  emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了                                                                                                                                                emotion_编程猫_厉害了emotion_编程猫_厉害了

emotion_编程猫_厉害了

 

 

 

emotion_编程猫_嗨起来

点赞0


评论


遇鱼遇鱼

Hi各位大老!

 

emotion_雷电猴_围观

点赞0


评论


遇鱼遇鱼

emotion_编程猫_点赞

点赞0


评论


李昊辰李昊辰

emotion_编程猫_翻白眼

点赞0


评论


私的申鹤儿私的申鹤儿

emotion_编程猫_搓头NO!

 

点赞0


评论


飞天泥鳅IV飞天泥鳅IV

emotion_雷电猴_围观

点赞0


评论


创心永恒创心永恒

emotion_雷电猴_围观

点赞0


评论


Himboy_in_mcHimboy_in_mc

emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了emotion_编程猫_厉害了

点赞0


评论


念年_念年_

                                    emotion_编程猫_点赞emotion_编程猫_点赞emotion_编程猫_点赞emotion_编程猫_点赞emotion_编程猫_点赞

                                    emotion_雷电猴_围观emotion_雷电猴_围观emotion_雷电猴_围观emotion_雷电猴_围观

点赞0


评论


岳晓东岳晓东

emotion_编程猫_嗨起来

点赞0


评论


黄大师战神黄大师战神

emotion_编程猫_搓头

点赞0


评论


**的小爪爪**的小爪爪

emotion_编程猫_点赞

点赞0


评论


北酱北酱

emotion_编程猫_加油

点赞0


评论


YM小福fuYM小福fu

nb

点赞0


评论


恬静的玛洛斯N2xR恬静的玛洛斯N2xR

emotion_雷电猴_哇噻emotion_雷电猴_哇噻emotion_雷电猴_哇噻emotion_雷电猴_哇噻emotion_雷电猴_哇噻emotion_雷电猴_哇噻emotion_雷电猴_哇噻

点赞0


评论


HUTAOHUTAO

emotion_雷电猴_围观

点赞0


评论


杨承泽泽泽泽杨承泽泽泽泽

对于我这种对编程无法理解的人,最多玩玩积木

点赞0


评论


香川风信子香川风信子

越看越头昏

点赞0


评论


有栖川無限有栖川無限

我觉得秋葵分析的已经够可以了,相比那些小码王的老师...我就不多说了

点赞0


评论