3. Write a python Tkinter program to create a window with title Tkinter Exercise 3 and label as Tkinter Exercise.
The output is:
Sample Answer:
import tkinter as tk window = tk.Tk() window.title("Tkinter Exercise 3") my_label = tk.Label(window, text="Tkinter Exercise", font=("Times New Roman Bold", 60)) my_label.grid(column=0, row=0) window.mainloop()
More Exercises:
Python String ExercisesMore Numpy Exercises:
Numpy String ExercisesMore Pandas Exercises:
Pandas Series ExercisesMore Tutorials:
Python Installation - Linux (Ubuntu)