In Exercise 3 in Notebook 015 Control in Python: if
line 16: month = 'out of bounds error: doy='+doy
The last variable 'doy' is integer and cannot be concatenated with string. The solution would be converting 'doy' into string type:
month = 'out of bounds error: doy=' + str(doy)
In Exercise 3 in Notebook 015 Control in Python: if
line 16: month = 'out of bounds error: doy='+doy
The last variable 'doy' is integer and cannot be concatenated with string. The solution would be converting 'doy' into string type: month = 'out of bounds error: doy=' + str(doy)