- 1
How to find common characters in n string? In python
n can be anything... 3 or 5 or 6
4 ответов
+ 5
from functools import reduce
reduce(set.intersection, map(set, strings))
+ 3
I don't understand. Can you clarify?
0
thank you
- 1
string=["orange","apple","mango"]
common character is a