from tkinter import *
from turtle import *

def naprijed():
    a=int(unos1.get())
    fd(a)

def nazad():
    a=int(unos1.get())
    bk(a)
    
def lijevo():
    b=int(unos2.get())
    lt(b)

def desno():
    b=int(unos2.get())
    rt(b)

p=Tk()
p.title('Program')
p.geometry('400x300')

g1=Button(p,text='Naprijed',command=naprijed)
g1.place(x=100,y=50)

g2=Button(p,text='Nazad',command=nazad)
g2.place(x=100,y=100)

g3=Button(p,text='Lijevo',command=lijevo)
g3.place(x=50,y=100)

g4=Button(p,text='Desno',command=desno)
g4.place(x=150,y=100)

unos1=Entry(p,width=3)
unos1.place(x=100,y=150)

unos2=Entry(p,width=3)
unos2.place(x=100,y=200)

t1=Label(p,text='Pikseli')
t1.place(x=50,y=150)

t2=Label(p,text='Stupnjevi')
t2.place(x=50,y=200)
















