Skip to content

Instantly share code, notes, and snippets.

View abenezerangelos's full-sized avatar

abenezerangelos

  • Washington State University
View GitHub Profile
@abenezerangelos
abenezerangelos / HW3.py
Created March 25, 2022 15:59
The amazing graph recursion with 3 different mysteries questions
# CptS 355 - Spring 2022 - Assignment 3 - Python
# Please include your name and the names of the students with whom you discussed any of the problems in this homework
# Name:
# Collaborators:
debugging = False
def debug(*s):
if debugging:
@abenezerangelos
abenezerangelos / HW3.py
Created March 27, 2022 14:29
One of the best assignments ever regardless of how much penalty i have on it. It was worth all the penalty! You can come back and refer to this and get all caught up pretty fast!
# CptS 355 - Spring 2022 - Assignment 3 - Python
# Please include your name and the names of the students with whom you discussed any of the problems in this homework
# Name:
# Collaborators:
debugging = False
def debug(*s):
if debugging:
@abenezerangelos
abenezerangelos / trial.py
Created March 28, 2022 12:44
The word counter problem but instead using in-built iterator's __next__() function. So happy
class counter():
def get_next(self):
while self.controller==True and self.i!=None:
try:
self.i=self.numbers.__next__()
except:
return None
self.controller=True
@abenezerangelos
abenezerangelos / main.py
Created June 13, 2022 06:46
pandas, list comprehension and dictionary comprehenstion
student_dict = {
"student": ["Angela", "James", "Lily"],
"score": [56, 76, 98]
}
#Looping through dictionaries:
for (key, value) in student_dict.items():
#Access key and value
pass
aahed
aalii
aargh
aarti
abaca
abaci
abacs
abaft
abaka
abamp
from tkinter import *
from time import *
from threading import Thread
# ---------------------------- CONSTANTS ------------------------------- #
PINK = "#e2979c"
RED = "#e7305b"
GREEN = "#9bdeac"
YELLOW = "#f7f5dd"
FONT_NAME = "Courier"
WORK_MIN = 25
@abenezerangelos
abenezerangelos / password-manager.py
Created July 25, 2022 01:56
productivity-tool to manage password
import random
from random import *
from tkinter import *
from tkinter.messagebox import *
from string import *
from json import *
import pyperclip
from tkinter.simpledialog import *
@abenezerangelos
abenezerangelos / flash-card.py
Created July 31, 2022 10:48
productivity tool for studying languages and vocabularies
from tkinter import *
import pandas as pd
import csv
from random import *
from tkinter.messagebox import *
CARD_BACK_BACKGROUND_COLOR="#96C1AA"
BACKGROUND_COLOR = "#B1DDC6"
learning_language="French"
language_already_learned="English"
try:
@abenezerangelos
abenezerangelos / leetcode
Created December 20, 2022 09:06
Easy leetcode problems solutions
nums = [1,2,3,4]
#Output: [1,3,6,10]
def runningSum(self, nums) :
array = [0]
for i in nums:
array.append(i + array[-1])
print(array)
array.remove(0)
@abenezerangelos
abenezerangelos / algoexperteasy implementation
Created April 24, 2023 09:04
sort mechanism and algoexpert easy question attempted
package com.company;
import java.util.*;
public class Main {
public static void main(String[] args) {
// write your code here
int [] arr= {10,5,2,3,5,4,3,7,8,9,1,0};
int [] arrayer={5, 1, 22, 25, 6, -1, 8, 10};