![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
螺螺丸
这个作者很懒,什么都没留下…
展开
-
作业week1 'Rock-paper-scissors-lizard-Spock'
#!/usr/bin/env python# -*- coding: utf-8 -*-"""__title__ = 'Rock-paper-scissors-lizard-Spock'__author__ = 'Steve'__mtime__ = '2017/9/23'"""# The key idea of this program is to equate the strings原创 2017-09-24 15:08:22 · 373 阅读 · 0 评论 -
作业week2 'Guess the number'
#!/usr/bin/env python# -*- coding: utf-8 -*-"""__title__ = 'Guess the number'__author__ = 'Steve'__mtime__ = '2017/9/24'"""# Import the moduleimport SimpleGUICS2Pygame.simpleguics2pygame as sim原创 2017-09-24 15:09:56 · 269 阅读 · 0 评论 -
练习week2 'caculator'
#!/usr/bin/env python# -*- coding: utf-8 -*-"""__title__ = 'caculator'__author__ = 'Steve'__mtime__ = '2017/9/24'"""import SimpleGUICS2Pygame.simpleguics2pygame as simpleguistore = 0operand = 0原创 2017-09-24 15:11:28 · 221 阅读 · 0 评论 -
作业Week3 "Stopwatch: The Game"
#!/usr/bin/env python# -*- coding: utf-8 -*-"""__title__ = 'Stopwatch'__author__ = 'Steve'__mtime__ = '2017/9/25'"""# template for "Stopwatch: The Game"import SimpleGUICS2Pygame.simpleguics2pyga原创 2017-09-25 23:50:42 · 211 阅读 · 0 评论 -
作业week4 Pong!
#!/usr/bin/env python# -*- coding: utf-8 -*-"""__title__ = 'Pong'__author__ = 'Steve'__mtime__ = '2017/9/27'"""# Impelementation of classic arcade game Pongimport SimpleGUICS2Pygame.simpleguics2p原创 2017-09-28 21:42:30 · 208 阅读 · 0 评论 -
【莱斯大学 Python交互编程入门】 作业Week5 Memory
这一题还是花了一些时间的,参考了Crystalleaf1989的博客,实现的方法略有不同。先生成底层的数字,再生成上层的方块,鼠标点击后将方块移除,判断两次点击的数字相同,保持方块不显示的状态。#!/usr/bin/env python# encoding: utf-8"""@author: steve@license: Apache Licence @software: PyCharm C原创 2017-11-04 19:14:26 · 523 阅读 · 0 评论