Advertisement
k1alo

Конвертатор валют

Nov 16th, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.78 KB | None | 0 0
  1. import tkinter
  2. from tkinter import *
  3.  
  4. root = Tk()
  5. root.geometry("1280x760")
  6. root.maxsize(1920, 1080)
  7. root.title("Конвертатор валют")
  8.  
  9. icon = tkinter.PhotoImage(file='money.png')
  10. root.iconphoto(False, icon)
  11.  
  12. root.config(bg='#E0FFFF')
  13.  
  14. label1 = Label(text="Конвертатор валют", font=('Arial', 25, 'bold'), pady=20, bg='#E0FFFF')
  15. label1.pack()
  16.  
  17. label2 = Label(text="Рубли", font=('Arial', 15, 'bold'), pady=20, bg='#E0FFFF')
  18. label2.pack()
  19.  
  20. vvod = Entry(font=('Arial', 15, 'bold'))
  21. vvod.pack()
  22.  
  23. label3 = Label(text="Доллары", font=('Arial', 15, 'bold'), pady=20, bg='#E0FFFF')
  24. label3.pack()
  25.  
  26. vvod1 = Entry(font=('Arial', 15, 'bold'))
  27. vvod1.pack()
  28.  
  29. button = tkinter.Button(text="Высчитать")
  30. button.pack()
  31.  
  32. root.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement