О
def best_treat(*data, **conditions):
return [''.join(x.upper() if x in conditions['to_up'] else x for i, x in enumerate(s) if i not in conditions['remove']) for s in data]
Size: a a a
О
def best_treat(*data, **conditions):
return [''.join(x.upper() if x in conditions['to_up'] else x for i, x in enumerate(s) if i not in conditions['remove']) for s in data]
AT
О
E
AT
E
БГ
__await__
, который будет возвращать итератор. Но ни слова про то что в этом итераторе должно быть((БГ
to_visit = [(key, coords) for key, coords in known.items() if key not in visited]
E
to_visit = [(key, coords) for key, coords in known.items() if key not in visited]
БГ
БГ
E
E
E
БГ
AT
AT
E