What is wrong with this code
if YCentury == 23: CenturyCode = 0 if YCentury == 20: CenturyCode = 6 if YCentury == 24: CenturyCode = 6
if YCentury == 23: CenturyCode = 0 if YCentury == 20: CenturyCode = 6 if YCentury == 24: CenturyCode = 6
As pasted, there is a space before the first 'if' and you didn't use markup to make the code appear on separate lines and YCentury is not defined but otherwise it looks OK.
To enter a block of code:
Comments