The tuple indexing is not correct in your code:
>>> print('the {1} {0} {2}'.format('brown', 'fat', 'fox'))
the fat brown fox
and you do not require the ‘,’ the last comma at the end. remove that too.
More Related Contents:
- Configuring Spark to work with Jupyter Notebook and Anaconda
- How to add conda environment to jupyter lab
- Installing a pip package from within a Jupyter Notebook not working
- How to know which Python is running in Jupyter notebook?
- OSError: cannot load library ‘C:\Program Files\R\R-4.0.2\bin\x64\R.dll’: error 0x7e
- Packages from Conda env not found in Jupyer Notebook
- Jupyter python3 notebook cannot recognize pandas
- How to make IPython notebook matplotlib plot inline
- How to activate an Anaconda environment
- Installation Issue with matplotlib Python [duplicate]
- How to remove anaconda from windows completely?
- How to set env variable in Jupyter notebook
- Anaconda vs. miniconda
- What is the effect of using pip to install python packages on anaconda?
- Link Conda environment with Jupyter Notebook
- What is the currently correct way to dynamically update plots in Jupyter/iPython?
- How to install PyQt4 in anaconda?
- ImportError: No module named ‘google’
- How do I install theano in Anaconda ver. 2.1 Windows 64 bit for Python 3.4?
- Conda command not found
- Installing opencv on Windows 10 with python 3.6 and anaconda 3.6
- Get Output From the logging Module in IPython Notebook
- Conda – offline install / update
- How to programmatically generate markdown output in Jupyter notebooks?
- PySpark in iPython notebook raises Py4JJavaError when using count() and first()
- How to upgrade scikit-learn package in anaconda
- Installing opencv 3.1 with anaconda python3?
- Is it safe to manually delete all files in pkgs folder in anaconda python?
- Installing anaconda with pyenv, unable to configure virtual environment
- Activate conda environment in docker