Hi,
I am a beginner in Python and was facing some issues with the topic frozenset() in Python, I also referred here but couldn't get what I was looking for and am still confused with this - I have a frozenset A and list B:
>>> a=frozenset(['A','B'])
>>> b=[('A','B'),('C',)]
>>> a in b
False #...
Nahitaji kutunga uwezo wa Python ambao unachukua msururu wa kamba kama ugomvi wake. Uwezo unapaswa kuchapisha kamba hizo kwenye muhtasari ambao una kama vifungu vidogo vitu vyote vinavyozingatiwa "feline" au "canine".
Hii ndio nambari ambayo bado sina chochote kinachokuja wakati ninaendesha...
katika C, ni ipi njia halali ya kuangazia jumla-kama printf ambayo itachapisha tu wakati alama ya DEBUG imefafanuliwa?
#ifdef DEBUG
#define DEBUG_PRINT(???) ???
#else
#define DEBUG_PRINT(???) ???
#endif
Nimechanganyikiwa kidogo kuhusu hili kwa hivyo tafadhali nisaidie kwa kupendekeza mawazo...
JamiiForums uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.