Created
February 13, 2022 23:56
-
-
Save anandtripathi5/698746b04a1e1dc6f3eee069654127cf to your computer and use it in GitHub Desktop.
Simple is better than complex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# c,a,b,d are some random variables | |
c = a and b or d | |
# or | |
if a: | |
c = b | |
else: | |
c = d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment