Commit ff898e1f by BellCodeEditor

save project

parent 0c174875
Showing with 8 additions and 7 deletions
name='六'
_1=4
a=['一',1,'二',2,'三',3,'四',4,'五',5]
name=input("")
_1=int(input(""))
a=['一',1,'二',2,'三',3,'四',4,'五',99]
for i in range(len(a)):
if i%2==1 and a[i]>=_1:
a.insert(i-1,name)
if i%2==1 and a[i]>=_1:
a.insert(i-1,name)
a.insert(i,_1)
print(a)
\ No newline at end of file
print(a)
\ 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