+ 5

Why the error in the code?

¿Por qué el error en el código? https://code.sololearn.com/cwa31T8t5F8M/?ref=app

22nd Jan 2022, 7:53 PM
CGO!
CGO! - avatar
15 Respuestas
+ 4
Firsly you defined an url without assigne it to a variable >>> url("https://images.app.goo.gl/YLWg8o2c192DNyck7", "Bonephoto.jpg") And next the way you did in next line it will only if there is a picture named "Bonephoto.jpg" in the directory in witch your code run. >>> img = ImageTk.PhotoImage(Image.open("Bonephoto.jpg")) Try this : >>> imgUrl = url("https://images.app.goo.gl/YLWg8o2c192DNyck7", "Bonephoto.jpg") >>> img = ImageTk.PhotoImage(Image.open(imgUrl))
22nd Jan 2022, 8:11 PM
Elon
Elon - avatar
+ 2
Use the print function, Carlos Santiago Reina
23rd Jan 2022, 1:29 PM
CGO!
CGO! - avatar
+ 2
I know, Ubah Chinedu
23rd Jan 2022, 11:15 PM
CGO!
CGO! - avatar
+ 1
The error continue.
23rd Jan 2022, 12:57 AM
CGO!
CGO! - avatar
+ 1
★«Caleb Guerra Ortega»★ try to provide a valid image url
23rd Jan 2022, 3:25 AM
Elon
Elon - avatar
+ 1
I run it in Pydroid
23rd Jan 2022, 12:40 PM
CGO!
CGO! - avatar
+ 1
Me too, Carlos Santiago Reina Also, I need your answer from the question, please, help me.
23rd Jan 2022, 7:54 PM
CGO!
CGO! - avatar
+ 1
Claro que hay un error, Carlos Santiago Reina. Te olvidaste de la n después del \. Ubah Chinedu Run it in Pydroid
23rd Jan 2022, 8:30 PM
CGO!
CGO! - avatar
0
estas intentando renderizar un HTML como imagen https://code.sololearn.com/c45L0j9qA6ga/?ref=app
23rd Jan 2022, 3:09 AM
David Ordás
David Ordás - avatar
0
Some python code runners can not support tkinder model try in other runner
23rd Jan 2022, 9:18 AM
Arun Shanmugavel
0
Carlos Santiago Reina You must ask it as a separate question. Don't comment in other discussions That said, here's what I would do: for i in range(1,10): print(f'{i}.')
23rd Jan 2022, 1:50 PM
Avinash Suresh
- 1
Yo probe 2 opciones y ls segunda salio bien: 1: print (1. \2. \3 etc......) Pero me dio error asi q tuve q hacerla: 2: print ("""1. 2. 3. 4. 5. 6. 7. 8. 9.""") Proba esta ultima, used number 2
23rd Jan 2022, 8:14 PM
CSR
- 1
Si si gracias. Bueno igual mande la n pero me sirvio wl segundo xon las comillas
23rd Jan 2022, 9:24 PM
CSR
- 2
I NEED YOUR HELP FOR THIS: I NEED OUPUT THAT: 1. 2. 3. 4. 5. 6. 7. 8. 9.
23rd Jan 2022, 1:09 PM
CSR