Created
February 19, 2017 11:10
-
-
Save satishgoda/c88177874c8ffaba28ea6659a9b79696 to your computer and use it in GitHub Desktop.
f-strings in Python 3.6 https://nbviewer.jupyter.org/github/satishgoda/learning/blob/develop/python/3.6/release_notes/f_strings.ipynb
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
import sys | |
pyversion = sys.version | |
pyexecutable = sys.executable | |
print(f"""You are using \n\tPython {pyversion} \nIt is located at \n\t{pyexecutable}""") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment