Hello @Mohamed.Hesham.nour,
You have less than 10 lines of code, so after each line, I suggest you to add a new line to print the content of the assigned variable in the previous line. Below is an example:
Source: general code debugging tips
As soon as you see your printed variable being an array or a list, there is the problem.
Raymond