Jump to content
Fórum Script Brasil
  • 0

Problema com código de exercício


Furadera

Question

Bom.....

No material que to estudando tem o seguinte exercicio:

>>> from livewires import *

>>> begin_graphics()

>>> set_colour(Colour.red)

>>> move(100,100)

>>> draw(200,100)

>>> set_colour(Colour.blue)

>>> draw(100,200)

>>> end_graphics()

Mas quando digito a primeira linha aparece o seguinte:

Traceback (most recent call last):

File: "<stdin>", line 1, in <module>

ImportError: No module named livewires

alguém pode me ajudar? Sou iniciante em programação.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Bom.....

No material que to estudando tem o seguinte exercicio:

>>> from livewires import *

>>> begin_graphics()

>>> set_colour(Colour.red)

>>> move(100,100)

>>> draw(200,100)

>>> set_colour(Colour.blue)

>>> draw(100,200)

>>> end_graphics()

Mas quando digito a primeira linha aparece o seguinte:

Traceback (most recent call last):

File: "<stdin>", line 1, in <module>

ImportError: No module named livewires

alguém pode me ajudar? Sou iniciante em programação.

É porque você não tem o modulo livewires insalado.

Obs: Passe a traduzir as mensagens de erro.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.1k
    • Total Posts
      651.8k
×
×
  • Create New...