0
what's wrong with this code
3 Respostas
+ 8
// Hi محمود الصادق,
Python for image is not supported with Sololearn Code Playground.
+ 7
Basically everything
+ 6
محمود الصادق
This code is syntactically and structurally a mess in too many ways to list.
Take a look at this revised version. However, this code won't run in Playground since the PIL module isn't installed and those image files won't exist on the SoloLearn servers where the code is actually running.
https://code.sololearn.com/cqi6uoU4SO9d/?ref=app
You might be able to run this code on your local computer if you have everything configured correctly.
I recommend you closely compare your code and this revised version to understand everything that was corrected.
Take special note of everything including indents, use of _ instead of -, and really every bit of detail.
Your code was even using "c" instead of "(" for open parentheses. It was quite a mess.