So I have a program which has a variable which can be edited by the user. The variable called 'price' is set to 2 as default. I'm trying to print the variable during sentence but it's not working. My code is below:
price = 2
#Definition of 'task_1'.
def task_1():
#Welcomes the user to the OCR car park.
print("Welcome to the OCR car park.")
#Asks for a £2 ticket fee and stores the amount
#given in a variable called 'ticket_fee'.
ticket_fee = int(input("Please insert a £",price,"ticket fee: "))