Commit f3e890c2 by BellCodeEditor

auto save

parent b87fcb82
Showing with 18 additions and 4 deletions
112 73 169 28 40 144 87 123 156 179
28 73 169 112 40 144 87 123 156 179
28 40 169 112 73 144 87 123 156 179
28 40 73 112 169 144 87 123 156 179
28 40 73 87 169 144 112 123 156 179
28 40 73 87 112 144 169 123 156 179
28 40 73 87 112 123 169 144 156 179
28 40 73 87 112 123 144 169 156 179
28 40 73 87 112 123 144 156 169 179
\ No newline at end of file
import random
n=int(input())
sb=list(map(int,input().split()))
sb=sort()
print(sb)
\ No newline at end of file
arr=[]
for i in range(n):
arr.append(random.randint(1,100))
arr.sort()
for i in range(n):
arr[i]=str(arr[i])
print(','.join(arr))
\ 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