+ 2
The code doesn’t work
I can’t find the mistake, the program shows me it’s something wrong with the line: dayOfWeek = dayOfWeek + centuryAdd[century] https://code.sololearn.com/caWYN3i2cEL3/?ref=app
1 Odpowiedź
+ 1
Hi Katja
On lines 3 and 23, replace the "/" by "//". Otherwise the result of the division is treated as a float, and the index in the list/dictionary are not being found. Let me know if there's any more problem. 😊