Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tkinter
- from tkinter import *
- root = Tk()
- root.geometry("1280x760")
- root.maxsize(1920, 1080)
- root.title("Конвертатор валют")
- icon = tkinter.PhotoImage(file='money.png')
- root.iconphoto(False, icon)
- root.config(bg='#E0FFFF')
- label1 = Label(text="Конвертатор валют", font=('Arial', 25, 'bold'), pady=20, bg='#E0FFFF')
- label1.pack()
- label2 = Label(text="Рубли", font=('Arial', 15, 'bold'), pady=20, bg='#E0FFFF')
- label2.pack()
- vvod = Entry(font=('Arial', 15, 'bold'))
- vvod.pack()
- label3 = Label(text="Доллары", font=('Arial', 15, 'bold'), pady=20, bg='#E0FFFF')
- label3.pack()
- vvod1 = Entry(font=('Arial', 15, 'bold'))
- vvod1.pack()
- button = tkinter.Button(text="Высчитать")
- button.pack()
- root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement