January 27, 2021

Happy birth day project


 










from tkinter import *

import time

import playsound

#BORDER STYLE(relief)= SUNKEN, RAISED, GROOVE, RIDGE

for i in range(1,10):

    root=Tk()

    root.geometry("1000x1000")

    f1=Frame(root)

    f1.pack()

    f2=Frame(root)

    f2.pack()


    lb=Label(f1,text=f'''It's 28th jan \nshivraj birthday!!!\nHAPPY BIRTHDAY TO YOU SHIVRAJ''',bg="gray",

             fg="black",padx="40",pady="20",font="arial 30 bold", borderwidth=10,relief=RAISED)

    lb.pack(anchor="ne",fill="x")

    pic=PhotoImage(file="3.png")

    lb=Label(f2,image=pic,bg="purple",

             fg="black",padx="40",pady="20",font="arial 20 bold", borderwidth=10,relief=RAISED)

    lb.pack(anchor="ne",fill="x")

    root.mainloop()

    time.sleep(0.4)


1 comment:

find the cube of the range given digits. || codeAj

Find the cube of the range given Digits. Source Code r= int ( input ( "enter the range of digit : " )) def number_conter (n): ...