1d array clear
This commit is contained in:
9
zeta_python/completed/2562.py
Normal file
9
zeta_python/completed/2562.py
Normal file
@@ -0,0 +1,9 @@
|
||||
A = [int(input()) for i in range(9)]
|
||||
I = 0
|
||||
M = 0
|
||||
for i, v in enumerate(A):
|
||||
if v > M:
|
||||
I = i
|
||||
M = v
|
||||
print(M)
|
||||
print(I+1)
|
||||
Reference in New Issue
Block a user