Created
May 20, 2019 23:17
-
-
Save jennz0r/4e026986ba0d42e71ac5f5279e642da2 to your computer and use it in GitHub Desktop.
This file contains 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
function drSeuss(catInTheHat, thing1, thing2) { | |
if (catInTheHat == true && | |
thing1 == true && | |
thing2 == true) { | |
console.log('is cray'); | |
} else if (catInTheHat != true) { | |
console.log('boring'); | |
} else { | |
console.log('so boring'); | |
} | |
} |
This file contains 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
def dr_seuss(cat_in_the_hat, thing1, thing2): | |
if cat_in_the_hat == True and | |
thing2 == True and | |
thing2 == True: | |
print 'is cray' | |
elif cat_in_the_hat != True: | |
print 'boring' | |
else: | |
print 'so boring' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment