import flask
from . import track

app = flask.Flask(__name__)

@app.route("/")
def root():
	return "{} by {} - {}"

import flask
from . import track

app = flask.Flask(__name__)

@app.route("/")
def root():
	song = track.getCurrentSong()
	artist = track.getCurrentArtist()
	album = track.getCurrentAlbum()
	return "{} by {} - {}".format(song, artist, album)

Add song display to root page
Add song display to root page

  import flask
  from . import track
  
  app = flask.Flask(__name__)
  
  @app.route("/")
  def root():
- 	return "{} by {} - {}"
+ 	song = track.getCurrentSong()
+ 	artist = track.getCurrentArtist()
+ 	album = track.getCurrentAlbum()
+ 	return "{} by {} - {}".format(song, artist, album)
  
Add song display to root page
## Code Before:
import flask
from . import track

app = flask.Flask(__name__)

@app.route("/")
def root():
	return "{} by {} - {}"

## Instruction:
Add song display to root page
## Code After:
import flask
from . import track

app = flask.Flask(__name__)

@app.route("/")
def root():
	song = track.getCurrentSong()
	artist = track.getCurrentArtist()
	album = track.getCurrentAlbum()
	return "{} by {} - {}".format(song, artist, album)
