Skip to content

Instantly share code, notes, and snippets.

View Jithender5913's full-sized avatar

Sai Jithender Reddy Alla Jithender5913

View GitHub Profile
@Jithender5913
Jithender5913 / main.py
Last active December 29, 2021 03:56
Quiz Project Using Python OOP
from question_model import Question
from data import question_data
from quiz_brain import QuizBrain
question_bank = []
for question in question_data:
question_text = question["text"]
question_answer = question["answer"]
new_question = Question(q_text=question_text, q_answer=question_answer)
question_bank.append(new_question)
@Jithender5913
Jithender5913 / main.py
Last active January 15, 2022 08:41
Snake Game using Python OOP
from snake import Snake
import time
from turtle import Screen
from food import Food
from scoreboard import ScoreBoard
screen = Screen()
screen.setup(width=600, height=600)
screen.bgcolor("black")
screen.title("Snake Game")
@Jithender5913
Jithender5913 / main.py
Last active February 16, 2025 06:58
Pong Game using Python OOP
from turtle import Screen
from paddle import Paddle
from ball import Ball
import time
from scoreboard import ScoreBoard
# Step 1 - Create the screen
screen = Screen()
@Jithender5913
Jithender5913 / main.py
Last active January 22, 2022 08:58
Turtle Crossing Game using Python OOP
import time
from turtle import Screen
from player import Player
from car_manager import CarManager
from scoreboard import Scoreboard
screen = Screen()
screen.setup(width=600, height=600)
screen.tracer(0)
@Jithender5913
Jithender5913 / main.py
Created January 27, 2022 02:49
USA States guess game using python pandas
import turtle
import pandas
screen = turtle.Screen()
screen.title("U.S.A States game")
image = "blank_states_img.gif"
screen.addshape(image)
turtle.shape(image)
@Jithender5913
Jithender5913 / main.py
Created February 2, 2022 04:42
Pomodoro GUI application using python Tkinter
import math
from tkinter import *
# ---------------------------- CONSTANTS ------------------------------- #
PINK = "#e2979c"
RED = "#e7305b"
GREEN = "#9bdeac"
YELLOW = "#f7f5dd"
FONT_NAME = "Courier"
WORK_MIN = 25
@Jithender5913
Jithender5913 / improvedpasswordJSON.py
Last active February 10, 2022 04:20
Password Manager GUI App using Python Tkinter, List comprehension, JSON data and Exception Handling
from tkinter import *
from tkinter import messagebox
from random import choice, shuffle, randint
import pyperclip
import json
# ---------------------------- PASSWORD GENERATOR ------------------------------- #
def generate_password():
@Jithender5913
Jithender5913 / main.py
Created February 10, 2022 07:30
Flash card GUI App using Python Tkinter and pandas library
from tkinter import *
import pandas
import random
BACKGROUND_COLOR = "#B1DDC6"
current_card = {}
to_learn = {}
# ---------------------------- Step 2 - Create New Flash Cards ------------------------------- #
try:
@Jithender5913
Jithender5913 / main.py
Last active February 17, 2025 06:10
Quizzer App using Python Application Programming Interface(API), Tkinter GUI and OOP
from data import question_data
from question_model import Question
from quiz_brain import QuizBrain
from ui import QuizInterface
question_bank = []
for question in question_data:
question_text = question["question"]
question_answer = question["correct_answer"]
new_question = Question(question_text, question_answer)
@Jithender5913
Jithender5913 / main.py
Last active February 21, 2022 03:10
ISS Overhead notifier project using Python SMTP Library, API and Datetime module
import requests
from datetime import datetime
import smtplib
import time
MY_LAT = 51.507351 # Your latitude
MY_LONG = -0.127758 # Your longitude
MY_EMAIL = "sXXX@yahoo.com"
MY_PASSWORD = "xxx"