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'}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36423-2c017.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36423-2c017.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?