编程题
mzlz
各种设计,静态页面,JAVAweb
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
石头剪刀布游戏(python编程)
代码:a = input()n=int(a)sumA=0sumB=0for i in range(0,n): t1, t2 = map(int, input().split()) if (t1==0 and t2==1) or (t1==1 and t2==2) or (t1==2 and t2==0): sumA+=2 else: if (t2==0 and t1==1) or (t2==1 and t1==2) or (t2==2..原创 2020-05-17 15:00:52 · 1173 阅读 · 0 评论 -
是否能获得奖杯(python编程)
代码:a = input()n=int(a)t=[]tem=0for i in range(0,n): t1, t2 = map(int, input().split()) if t1>=10 or t2>=20: t.append('True') #print("True") else: t.append('False') #print("False")for i in t: ...原创 2020-05-17 14:59:39 · 334 阅读 · 0 评论
分享