From 87bf603ea494b9a2508d580d359d5c6210bb711c Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sun, 24 Oct 2021 11:30:40 +0800 Subject: [PATCH] save project --- diy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diy.py b/diy.py index 8c4eec1..e8e05b9 100644 --- a/diy.py +++ b/diy.py @@ -1,7 +1,7 @@ # 臂力挑战赛 # 快用你机灵的小脑瓜想想,如何将刘强和他的臂力值自动插入到hero列表中? -name='刘强' -power=66 +name=input("你的名字是什么?") +power=input("你的臂力是多少?") hero=['赵一',30,'丁二',37,'孙五',52,'王猛',89,'周亮',98] # 自动排序 for i in range(len(hero)): -- libgit2 0.25.0