- 博客(3)
- 收藏
- 关注
原创 Problem Set 3 Word Game单词游戏
import mathimport randomimport stringVOWELS = ‘aeiou’CONSONANTS = ‘bcdfghjklmnpqrstvwxyz’HAND_SIZE = 7SCRABBLE_LETTER_VALUES = {‘a’: 1, ‘b’: 3, ‘c’: 3, ‘d’: 2, ‘e’: 1, ‘f’: 4, ‘g’: 2, ‘h’: 4, ‘...
2019-06-25 23:39:07 1169
原创 Problem Set 2 Hangman Game字谜游戏
@author: LiuYulin“”"Problem Set 2, hangman.pyName:Collaborators:Time spent:Hangman Game-----------------------------------Helper codeYou don’t need to understand this helper code,but you wil...
2019-04-20 16:11:53 517
原创 Problem Set 1 贷款买房与储蓄计划
Introduction to Computer Science and Programming in Python (Fall 2016)是ocw.mit的课程6.0001,作业没有答案,有些program可以参考以前课程的作业的思路。代码是去年写下,稍作整理以记录。part A: House Huntingannual_salary = int(input("Enter your annu...
2019-04-02 08:12:46 626
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人