
Lewier_
Lv.1
make me colorful
获赞:417收藏:123浏览:2886作品收藏:33
签名:无语了头像换不了
上一页第 1 页 / 共 1 页下一页
在 【Python作品分享】生存【作品秀】 中回复
variable文件[以下内容皆是]:
home = 'None' num = 0 food = '' blood = 120 satiety = 100 thirsty = 100 bag = ['无'] equip = ['手', '无', '无', '无', '无'] # 喵,helmet,cuirass,trousers,shoes days = 1 things = 0
2023-07-12T20:31:35 点赞:0
在 【Python作品分享】生存【作品秀】 中回复
gooutside文件[以下内容皆是]:
def go_outside(blood, satiety, thirty, bag, equip, days):
print('1.砍木头[', satiety,'体力,增加3~10棵木头,-2~7体力]', sep = '') print('2.挖矿[需要‘镐子’,', satiety,'体力,', thirty,'口渴值,增加2~6个石头,-5~11体力,-2~5口渴值]', sep = '') print('3.喵[', blood,'血量', satiety,'体力', thirty,'口渴值,增加0~5个食物、0~3瓶水,-0~15血量,-3~10体力,-2~8口渴值', sep = '') ret = input() if(ret == '1'or ret == '2'or ret == '3'): if(ret == '2'andnot('镐子'in bag)): print("你没有'镐子'!!") else: return ret else: print('选项错误!!请重新开始选择!!')
2023-07-12T20:33:02 点赞:0
在 【Python作品分享】生存【作品秀】 中回复
other文件:
def other_things(bag, equip, days): #定义函数
print('1.穿上装备') print('2.进入工作台') print('3.造房子[20石头,25木头]') print('4.吃东西[1食物=10体力,1水=15口渴值]') print('5.睡觉[+10血量]') ret = input() if(ret == '1'or ret == '2'or ret == '3'or ret == '4'or ret == '5'): return ret else: print('选项错误!!请重新开始选择!!')
2023-07-12T20:34:30 点赞:0
在 python内置彩蛋 中回复
python作者的话?

【作者是荷兰人,外号龟叔】
2023-07-17T14:44:14 点赞:0
在 【官方】如何上首页?只需在本帖下面评论! 中回复
HELLO!我是吾乃二臂, 棕所粥汁,codemao上首页的作品有50%以上都不是很好,好的大部分都投不上首页。 不绕弯子了,求赞!https://shequ.codemao.cn/work/201726203
2023-10-24T17:33:53 点赞:0
在 有没有人啊?? 中回复
6
2023-11-06T17:07:38 点赞:0
在 给我道歉! 中回复

2023-11-06T17:08:42 点赞:0