ММаксим... while (tst:=int(input())) in range(1, 6): count += tst == 5 если я всё правильно понял19:45