摘要: 0-- print A/B/C/D rather than detail score: score = float(input('please input your score: ')) if score>=90: print('A')elif 80<=score<90: print('B')eli 阅读全文
posted @ 2017-05-25 16:55 ReedyLi 阅读(182) 评论(0) 推荐(0)
摘要: 0- print all the odds in range 0-100: for i in range (101): if i%2!=0: print(str(i)) 1-- Einstein conundrum: for i in range (10000): if i%2==1 and i%3 阅读全文
posted @ 2017-05-25 16:21 ReedyLi 阅读(139) 评论(0) 推荐(0)
摘要: 0--Update the small game to check the type of the guess import random answer = random.randint(1,10) guess = input('please input your guess: ' ) i=2 wh 阅读全文
posted @ 2017-05-25 00:32 ReedyLi 阅读(203) 评论(0) 推荐(0)