The code below is good (as far as I know), but I thought it may add more context to the bottom half
IncAsk = bool(True)
while IncAsk:
try:
Income = {'Jan': int(input("How much money did you make in January? ")),
'Feb': int(input("How much money did you make in February? ")),
'Mar': int(input("How much money did you make in March? ")),
'Apr': int(input("How much money did you make in April? ")),
'May': int(input("How much money did you make in April? ")),
'Jun': int(input('How much money did you make in June? ')),
'Jul': int(input("How much money did you make in July? ")),
'Aug': int(input('How much money did you make in August? ')),
'Sep': int(input('How much money did you make in September? ')),
'Oct': int(input('How much money did you make in October? ')),
'Nov': int(input('How much money did you make in November? ')),
'Dec': int(input('How much money did you make in December? '))}
except ValueError:
print('Oops! It seems you have made a mistake. Numbers only please. Sorry for the inconvenience.')
But this code is were the problem is, it's supposed to check the whole dictionary and see if each individual is a positive number, and if they all are it will print a messasge and move on. If not it will repeat until the user gets it right. But when I run it stops and gives me a 'type error'. Runs fine for the top half just crashes once it reaches this. I have tried multiple diffrent formats for the if statment so I'm pretty sure the problem is somthing deeper, possibly somthing in the top half.
if Income(['Jan'], ['Feb'], ['Mar'], ['Apr'], ['May'], ['Jun'], ['Jul'], ['Aug'], ['Sep'], ['Oct'], ['Nov'], ['Dec']) > -1:
print('Looks like everything is ok, now on to spending')
IncAsk = bool(False)