Can somebody tell me what's wrong with my code?
Traceback (most recent call last):
File "song_shifter.py", line 21
t = input("Choose Tempo between 80 and 160)
^
SyntaxError: EOL while scanning string literal
"""
Values
Coding Exercise: Types
Song Shifter
"""
#### ---- SETUP ---- ####
import ts_sampler
number = float(0.5 *2)
product = 90 * 120
#### ---- INPUT ---- ####
## -- Print introduction -- ##
## -- Set tempo -- ##
t = input("Choose Tempo between 80 and 160)
ts_sampler.set_tempo("t")
## -- Input instruments -- ##
input("Welcome to song shifter, select your musical insterment of choice.")
input("Nice choice, select your notes")
#### ---- NOTE SEQUENCE ---- ####
ts_sampler.set_instrument("piano")
ts_sampler.add_note("C")
ts_sampler.add_note("E")
ts_sampler.add_note("A")
ts_sampler.add_note("C")
ts_sampler.add_note("E")
ts_sampler.add_note("A")
ts_sampler.add_note("B")
ts_sampler.add_note("E")
ts_sampler.add_note("A")
ts_sampler.rest()
ts_sampler.run()