Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of SnitchingAuggie

SnitchingAuggie

SnitchingAuggie has asked 1 questions and find answers to 0 problems.

Stats

5
EtPoint
0
Vote count
1
questions
0
answers

About

Learning how to program python like a pro. So far I've found out how to make lists automatically :)

while len(a) < 201:
if a[0] < 100:
    a.insert(0, a[0] + 1)
else: 
    a.insert(len(a), a[len(a) - 1] - 1)

print(a)

SnitchingAuggie answers