"Terry Green" wrote
Am stumped, when I use this code:
race=int(row[2])
raceChek=1
if raceChek == race: print ('raceChek ', raceChek, 'race ', race)
else: print ('raceChek ', raceChek,' no match ', 'race ', race);
raceChek = race
I Get this:
raceChek 1 race 1
raceChek 1 no ma
Terry Green wrote:
Am stumped, when I use this code:
race=int(row[2])
raceChek=1
This causes IndentationError: unexpected indent.
if raceChek == race: print ('raceChek ', raceChek, 'race ', race)
else: print ('raceChek ', raceChek,' no match ', 'race ', race);
raceChek = race
Am stumped, when I use this code:
race=int(row[2])
raceChek=1
if raceChek == race: print ('raceChek ', raceChek, 'race ', race)
else: print ('raceChek ', raceChek,' no match ', 'race ', race);
raceChek = race
I Get this:
raceChek 1 race 1
raceChek 1 race 1