If I put it into context, would it make it easier? I am trying to make the value of "x" in the y equation and the "y" in the z equation. It carries on coming up with an error. Here is the full python code to put it into context:
print ("Hello!")
print ("What is your name?")
myName = input()
print ("It is good to meet you, " + myName)
import os
os.system('start calc.exe')
wait = input("Press ENTER to continue.")
print ("What day were you born on? E.g. 23rd of February= 23.")
print ("Multiply your number by 7 on the calculator provided.")
wait = input("Press ENTER to continue.")
print ("Subtact 1 from your answer.")
wait = input("Press ENTER to continue.")
print ("Multiply this by 13.")
wait = input("Press ENTER to continue.")
print ("What month were you born in? E.g. January= 1, February= 2.")
wait = input("Press ENTER to continue.")
print ("Add this to your current total.")
wait = input("Press ENTER to continue.")
print("Add 3")
wait = input("Press ENTER to continue.")
print("Multiply by 11")
wait = input("Press ENTER to continue.")
print ("Subtract your day of birth from your current total.")
wait = input("Press ENTER to continue.")
print ("Subtract the month of your birth.")
wait = input("Press ENTER to continue.")
print ("Please tell me the answer. If it isn't correct, I cannot work out your date of your birth.")
DB = input()
x = "float(DB)/10"
y = "float(x)+11"
z = "float(y)/100"
print ("Is this the date of your birthday?"+z)
The purpose of the program is to work out the day and month you were born on in a maths equation.