alphabet = input() shift = int(input()) def encode(letter, shift): first_code = None last_code = None if ord("А") <= ord(letter) <= ord("Я"): first_code ...
import sys text = list(sys.stdin) count = 0 for i in text: if "far" in i.lower(): count += 1 print(count) как написать это в виде списочных выражений?
mails = list() for i in range(int(input())): employee = input() mails.append(employee) for i in range(int(input())): count = 1 username = input() mail = ...