Untitled
unknown
python
3 years ago
271 B
7
Indexable
n=list(map(int,input().split(' ')))
a=n
x=''
for i in range(len(n)):
while n[i]//10 != 0:
n[i]=n[i]//10
for j in range(len(n)):
print(n)
print(a)
x+=str(a[n.index(max(n))])
a.pop(n.index(max(n)))
n.pop(n.index(max(n)))
print(x)Editor is loading...