Найти - Пользователи
Полная версия: ошибка при исполнении программы
Начало » Python для новичков » ошибка при исполнении программы
1
eugeny1984
Хотел исполнить программу в версии пайтон 3,5, но вышла ошибка Traceback (most recent call last):
File “CUsers/Евгений/Documents/dfdf.py”, line 2, in <module>
tortilla = turtle (shape= ‘classic’)
NameError: name ‘turtle’ is not defined

Программа такая
from turtle import *
tortilla = turtle (shape= ‘classic’)

Помогите, пожалуйста решить эту проблему?
FishHook
try this

 from turtle import *
color('red', 'yellow')
begin_fill()
while True:
    forward(200)
    left(170)
    if abs(pos()) < 1:
        break
end_fill()
done()
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB