Hello @Amer_Althiab
First of all, you have posted this under General Discussion. Move it to respective course and week so that you can get help.
Second, Posting code in public is against community guidelines. Delete your code. Post only error trace.
Third, Check the indentation of the code. To know more about indentation refer Indentation in Python (IndentationError: unexpected indent)
Thanks for instructions. I moved to Course 1 under Week 3. Anyhow, I just posted the part of the code that even exists under hints in the assignment section, so there is nothing “very” important in this part of that code