why does broken image icon appears? It didn't. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

why does broken image icon appears? It didn't.

os system python https://code.sololearn.com/crkC7cHP254s/?ref=app

24th Feb 2023, 4:24 AM
PASHA 🇷🇺
PASHA  🇷🇺 - avatar
3 Answers
+ 7
Павел Сливенко 🇷🇺 in line 109 the code creates an empty image file, "file.png", and it is displayed automatically by Sololearn's batch run script. You may safely delete that line, since the last line imports another image file, "req.png", which is sufficient to trick the app into entering html display mode.
24th Feb 2023, 6:37 AM
Brian
Brian - avatar
+ 3
You're welcome!
25th Feb 2023, 4:12 AM
Brian
Brian - avatar
+ 2
It works! Brian thank you so much!
25th Feb 2023, 3:58 AM
PASHA 🇷🇺
PASHA  🇷🇺 - avatar