Hi
Im trying to create a budget program that you put your incomes in and then you add all your bills. However im far from finish due to the issue: "Could not convert string to float"
Here is the code:
sum = '0'
while True:
print('Enter income, if no more income press enter')
income = input()
sum = float(income) + float(sum) <-- here is where the issue appears:
print(sum)
if income ==' ':
break
print('Your total income is:' +sum)
Why can't it not convert to float?