How does python judge three strings. What are the same characters?

string
string bang 1564687
string clisten 1679813
string value range is 0-9 repeatable
how to judge that three strings exist at the same time

Mar.01,2021

three string conversions are combined to find the intersection

a = '6171156'
b = '1564687'
c = '1679813'

set(a) & set(b) & set(c)

// {'7', '6', '1'}
Menu