scripts/ege/Евич В 6/Задание 17/17.py

7 lines
139 B
Python
Raw Normal View History

2023-05-05 00:45:01 +03:00
with open("17.txt") as f:
data = list(map(int, f.read().split()))
n = [x for x in data if "4" in str(x)]
print(len(n), max(n))