import tkinter as tk
root=tk.Tk()
root.geometry("200x200+20+20")
button=tk.Button(root,text="ok",width=5,fg='red')
button.pack(anchor=tk.E,padx=10,pady=20)
entry=tk.Entry(root,bg='yellow',width=10)
entry.pack(anchor=tk.W,pady=20)
labele=tk.Label(root,text="hello python!",bg="blue",fg="yellow",width=20)
labele.pack(side='right')
root.mainloop()