Oktatás * Programozás 2 * Szkriptnyelvek * levelezősök Félévek Linkek * kalendárium |
EnPy /
20130305aXORThe Exercise Given two variables, decide if it holds that one of them is evaluated as True, while the other is evaluated as False. Actually, this is an XOR operation (eXclusive OR), but this time it's not about bit operations. Example: str1 = "python" str2 = None Here it is true that one of them (str1) is evaluated to be True, while the other variable (str2) is evaluated to be False. Tip: don't be afraid to use the |
Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |