Created
May 20, 2019 23:23
-
-
Save jennz0r/afa821d1a392b59dfbc668ae2a565ecf 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
let exclamation = 'Whoa!'; | |
let sentence = `They are really similar to Python.`; | |
console.log(`Template Literals: ${exclamation} ${sentence}`); | |
// Template Literals: Whoa! They are really similar to Python. |
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
print '.format(): {} {}'.format('Yup.', 'Quite!') | |
# .format(): Yup. Quite! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment