
Lv.1
签名:交朋友欸
在 Python的游戏 中回复
i=0
number=from 1 to 100
while(answer=number):
answer=int(input())
i+=1
print('good,you win.this number is '+number+'.you file '+i+'.')
2019-03-07T16:39:03 点赞:0
在 Python的游戏 中回复
print('input same number,I can choose max and min')
list=[]
i=input('how many number')
while(len(list)<=i):
addend.list(input('a number'))
max=-Infinite
for i in list:
if(max<i):
max=i
min=Infinite
for i in list
if(min>i):
min=i
print('max number is '+max+'\nmin number is '+min)
2019-03-07T16:53:09 点赞:0
在 制作3D效果 中回复
在scratch中有运行时不刷新屏幕,配合画笔、3D算法,就可以了。
编程猫好像没有运行时不刷新屏幕
或者用编程猫里的大小,宽度,长度改变也许能做出3流作品
2019-03-07T17:09:36 点赞:0
在 飞机大战三问题求助 中回复
我给代码,自己翻译:
def gameover:
pass
...
中弹次数=0
while(中弹次数<=10):
if(中弹):
中弹次数+=1
gameover
2019-03-07T17:20:23 点赞:0
在 谁是学Python的 中回复
def a new people(name):
print(name+'学Python哦')
a new people(李奕威)
2019-04-17T18:36:42 点赞:0
在 大家知道python不可以用那些词不可以做变量吗? 中回复
print,def,set,uincode,import,if,else,elif,while,set等60多个保留字,或开头为数字,包含非法字,再或Flase,True,Null,NaN,undefined等
2019-05-26T18:49:24 点赞:0