Даю 20 балов !!!!!!!!!!!!!!!!!!!!!!!!!!!!
n = int(input())

maxim = 0

for i in range(n):
m = int(input())

if m < maxim:

maxim = m

for i in range(n):

n = int(input())

if n == maxim:

count =+1

print(maxim)

print(count)


Выдаёт ошибку в коде

Traceback (most recent call last):

File "./000000", line 11, in

n = int(input())

EOFError: EOF when reading a line


Задача кода:

Найдите минимальное число и посчитать их количество
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.