How do I define my variables

So I try to define my variables like yearborn and currentyear and the call them later when I subtract the two but it will not call them

You are viewing a single comment. View All
Answered by CodingElf66 [earned 5 cycles]
View Answer

@Zakbets Seems to be working unless your birth month or day is lower than the current month or day. Using the absolute value here may help the problem:
monthsold = abs(monthborn - currentmonth)
daysold = abs(dayborn - currentday)