Snake Game February 06, 2022Snake Game Using Python Turtle from tkinter import StringVar , Tk , Label , Button , Radiobutton , messagebox import random import turt...Read More
Christmas Tree December 28, 2021Christmas Tree import turtle from threading import Thread turtle.Screen().bgcolor( "black" ) turtle.title( "Christmas...Read More
Status Bar December 28, 2021STATUS BAR import tkinter as tk import math window = tk.Tk() status_bar = tk.Label(window) status_bar.pack(side= tk.BOTTOM, fill="x...Read More
Reversed List December 06, 2021 Reversed List def reversed_list ( l ): reverse = [] for i in range ( len (l)): popped = l.pop() reverse.app...Read More
Reverse Name December 06, 2021 Reverse Name Names = [ "adrika" , "anika" , "siddhi" , "pihu" ] Reverse_names = [name[::- 1 ] f...Read More
Reverse elements without list December 06, 2021Reverse elements without list numbers=( 23 , 45 , 77 , 98 ) print (numbers[::- 1 ]) ANSWER (98, 77, 45, 23)Read More
Prime Numbers December 06, 2021Prime Numbers for num in range ( 1 , 10 ): if num == 1 : continue elif all (num % i != 0 for i in range ( ...Read More
Making Indian Flag in Python December 06, 2021from tkinter import * ws = Tk() canvas = Canvas( ws, height = 600 , width = 900 , bg = "#9adbd8" ) ...Read More
Find Permutations of a given word using python December 06, 2021Find Permutations of a given word using python from itertools import permutations word = input ( "Enter the word: " ) perm =...Read More
Disarium numbers December 06, 2021Disarium numbers num = int ( input ( "Enter the number: " )) dig_num = len ( str (num)) count = 0 sum = 0 for i in str (n...Read More