n=0
sum=0
for n in range(0,101):
sum=sum+n
print(sum)
i=1
while i<=9:
j=1
while j<=i:
mut=i*j
print("%d*%d=%d"%(j,i,mut),end=" ")
j+=1
print("")
i+=1
for i in range(1,10):
for j in range(1,i+1):
print("{}*{}={}".format(i,j,i*j),end=" ")
print()
def paixu(li) :
max = 0
for ad in range(len(li) - 1):
for x in range(len(li) - 1 - ad):
if li[x] > li[x + 1]:
max = li[x]
li[x] = li[x + 1]
li[x + 1] = max
else:
max = li[x + 1]
print(li)
paixu([41,23344,9353,5554,44,11,22,7557,6434,500,2000])
a=[1,2,5,25,2,3,5,3,8,6]
b=list(set(a))
c=[]
for j in b:
for i in a:
if i==j:
c.append(i)
print(c)
a=[1,2,5,25,2,3,5,3,8,6]
a.sort()
print(a)