Commit 14a156a9 by BellCodeEditor

save project

parent a7ee2163
Showing with 21 additions and 3 deletions
i = 5 # 行 bro1="关羽"
j = 3 # 列 bro2="刘备"
# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式 bro3="张飞"
bros=["刘备","关羽","张飞"]
bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
bros[0]="关羽"
bros[1]="刘备"
b[25]
print(bros)
name='刘强'
name='刘强'
power=66
hero=['1',30,'2',37,'3',52,'4',89,'5',98]
for i in range(len(hore)):
if i%2==1 and hore[i]>=power
hore.insert(i-1,name)
hore.insert(i,power)
print(hore)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment