Skip to content

Instantly share code, notes, and snippets.

View SyntaxError843's full-sized avatar
๐Ÿ‘Œ
Can't spell success without succ

SyntaxError843

๐Ÿ‘Œ
Can't spell success without succ
View GitHub Profile
import pandas as pd
from time import time
from datetime import datetime
df = pd.read_excel(r'./cvs.xlsx')
accepted_keywords = ( 'python', )
accepted_regions = ( 'jbeil', 'beirut', 'batroun' )
accepted_mail_domains = ( 'gmail', 'outlook' )
accepted_age = ( 20, 40 )
from tkinter import *
from tkinter import ttk
import tksheet
donors = []
found_donors = []
# Donors application form
root = Tk()
root.geometry("1280x640")
@SyntaxError843
SyntaxError843 / tictactoe.py
Last active October 14, 2021 07:18
TicTacToe
# Tic Tac Toe
import os;
import random;
import time;
# Initialize player vs bot mode [Make true to play against a very stupid bot]
is_pve = True;
# Initialize rows count
@SyntaxError843
SyntaxError843 / hangman.py
Last active October 12, 2021 18:36
Simple Hangman Game
# Hangman is a paper and pencil guessing game for 2 or more players. One player thinks of a word,
# Phrase or sentence and the other tries to guess it by suggesting letters, within a certain number of guesses.
# You are the moderator. Given an entry word or sentence, check the input letters in order. If the entry is completed,
# the game is won: display the resulting handman and the final entry.
# The player is allowed 5 mistakes, corresponding to hangman's head, body, left arm, right arm, left leg. At the 6th
# Mistake the right leg is drawn and the game is over. if a letter is repeated more than once, the repeating occurrences
# Are always considered as an error, even if the first time was correct.
import os;