Read an error as a clue
By Code from zero · myAudience

myAudience · AI-generated illustration · Original generated illustration; not documentary evidence
If a program combines text and numbers unexpectedly, inspect the values and their types at the point of failure. A name can be right while its value is wrong. Reproduce one small example, change one thing and check again. Debugging is a sequence of questions, not proof that you are bad at coding. Keep private information out of shared screenshots and sample data.