yall help its due 2nite
A customer has contacted your company's Live Support for service while you are taking care of another customer. Let's make sure the customer is happy while they wait for service by giving them an option to listen to music. The program should be versatile in how the customer responds to the question.
Requirementsexpand_less
Complete the RESPONSE section of the code
Play hold music if the customer inputs "yes", "Yes", "YES" "y", or "Y"
Display a message if the customer inputs "no", "No", "NO" "n", or "N"
ts_hold_music Libraryexpand_less
play()
Plays some music for the user until they close the window
"""
Booleans
Technique Practice: Flexible Input
Flexible On-Hold
"""
#### ---- LIBRARY SETUP ---- ####
import ts_hold_music
#### ---- INTRODUCTION ---- ####
print("Thanks for calling Programmers Paradise!")
#### ---- INPUT ---- ####
answer = input("Would you like to hear some music? ")
#### ---- RESPONSE ---- ####
yes1=" "
yes2=" "
## -- If yes -- ##
if "yes" or "Yes"or "YES" or"y" or "Y":
ts_hold_music.play()
## -- If no -- ##
if "no" or "No" or "NO" or "n" or "N":
print("Listen to that sweet sound of silence.")