Язык Python
from random import randint
A = [randint(10,110) for x in range (10)]
M = max(A)
print(A)
print('максимальное:', M)
print('индекс:', A.index(M))
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Язык Python
from random import randint
A = [randint(10,110) for x in range (10)]
M = max(A)
print(A)
print('максимальное:', M)
print('индекс:', A.index(M))