Thanks @mkrieger1 I managed to fix my code and it's perfectly working now .
also a big thanks to @ggorlen The turtle move and being able to shoot several bullets at once is amazing and definitely what I wanted to complete next. You give me a big help that I can study and work on.
Thanks to both of you for your precious help.