티스토리 뷰

728x90

https://stackoverflow.com/questions/432842/how-do-you-get-the-logical-xor-of-two-variables-in-python

 

How do you get the logical xor of two variables in Python?

How do you get the logical xor of two variables in Python? For example, I have two variables that I expect to be strings. I want to test that only one of them contains a True value (is not None or an

stackoverflow.com

 

728x90
댓글