#-*- coding: utf-8 -*-
import livewires
livewires.begin_graphics();
def oblicej(x,y):
livewires.circle(x,y,200); #Hlava
livewires.circle(x-80,y+50,40); #Leve oko
livewires.circle(x+80,y+50,40); #Prave oko
livewires.move(x,y+50);
livewires.draw(x-50,y-50); #Nos
livewires.draw(x+30),y-50);
livewires.circle(x-80,y+50,endpoints=((x-40,y+80),(x-120,y+80))); #Obočí
livewires.circle((x+80),(y+50),endpoints=((x+120,y+80),(x+40,y+80)));
livewires.circle(x-80,y+50,20); #Levá zornice
livewires.circle(x+80,y+50,20); #Pravá zornice
livewires.circle(x,y-40,endpoints=((x-100,y-90),(x+100,y-90))); #Pusa
livewires.move(x-100,y-80);
livewires.draw(x-100,y-90); #Levý koutek
livewires.draw(x-110,y-100);
livewires.move(x+100,y-80);
livewires.draw(x+100,y-90); #Pravý koutek
livewires.draw(x+110,y-100);
livewires.move(x,y+200);
livewires.draw(x-70,y+130); #jeden vlas
livewires.move(x,y+200); #další vlas
livewires.draw(x,y+130);
livewires.move(x,y+200); #poslední vlas
livewires.draw(x+70,y+130);
livewires.sleep(0.1);
oblicej(320,240);
livewires.sleep(5);
livewires.end_graphics();
mám tento kód a když to chci spustit hodí mi to
Error: Inconsistent indentation detected!
1) Your indentation is outright incorrect(easy for fix),OR
2)Your indentation mixes tabs and spaces.
To fix case2, change all tabs to spaces by using Edit->Select all followed by Format->Untabily Region and specify the number of columns used by each tab.