Complete the code to create a variable that stores a user's name.
user_name = [1]Variables that store text must be enclosed in quotes.
Complete the code to insert a variable into a prompt string using f-string syntax.
prompt = f"Hello, [1]! How can I help you today?"
Inside an f-string, variables are used without quotes to insert their values.
Fix the error in the code to correctly create a prompt with dynamic content.
prompt = f"Your order number is [1]."
The variable name must match exactly and be used without quotes inside the f-string.
Fill both blanks to create a dictionary with variable keys and values.
data = { [1]: [2] }Dictionary keys as strings need quotes, and values can be strings too.
Fill all three blanks to create a prompt template with variables and a condition.
prompt = f"Hello, [1]! Your balance is [2]. [3]"
Use variables user_name and balance inside the f-string, and add a message as a string.
