what's wrong with this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
12th Jan 2019, 6:55 PM
‎محمود الصادق‎
‎محمود الصادق‎ - avatar
3 Answers
+ 8
// Hi محمود الصادق, Python for image is not supported with Sololearn Code Playground.
12th Jan 2019, 8:52 PM
program
program - avatar
+ 7
Basically everything
12th Jan 2019, 7:01 PM
Anna
Anna - avatar
+ 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.
12th Jan 2019, 7:47 PM
David Carroll
David Carroll - avatar