The mission is to get the user to input some value if extra cash was spent to replace a capital good, but if no extra cash was spent, then I want the program to move on to the next line of code.
Where did I go wrong with my code?
print("Did you spend extra to replace a capital goods\n")
variableExpense = 'Yes'
variableExpense = 'No'
if variableExpense == 'Yes':
variableExpense = input('How much did you spent: \n')
else:
if variableExpense == 'No':
print('print some statement.\n')