Skip to content

Instantly share code, notes, and snippets.

View DevBramz's full-sized avatar

MomanyiDickson DevBramz

View GitHub Profile
@DevBramz
DevBramz / NEWANSWER.PY
Created October 4, 2023 22:51
NEWANSWER.PY.PY
for i in range(1,101):
if i%3==0 and i%5==0:
print("CracklePop")
elif i%3==0:
print("Crackle")
elif i%5==0:
print("Pop")
else:
print(i)
What do you want to be doing in two years?
@DevBramz
DevBramz / bramz_game.py
Last active October 4, 2023 21:57
bramztietactoe
# Set up the game board as a list
def intro():
# This function introduces the rules of the game Tic Tac Toe
print("Hello! Welcome to Bramz's Tic Tac Toe game!")
print("\n")
print(
"Rules: There will be two playes,PlayerX and PlayerO "
" The two players will take turns marking "
)
print("\n")
@DevBramz
DevBramz / eugine_game.py
Created September 26, 2023 00:11
euginetietactoe
# Set up the game board as a list
def intro():
# This function introduces the rules of the game Tic Tac Toe
print("Hello! Welcome to Pam's Tic Tac Toe game!")
print("\n")
print(
"Rules: There will be two playes,PlayerX and PlayerO "
" The two players will take turns marking "
)
print("\n")
@DevBramz
DevBramz / ServerDb.py
Last active September 26, 2023 00:09
simple db server
import json
from urllib.parse import urlparse
from urllib import parse
import logging
import re
from http.server import BaseHTTPRequestHandler, HTTPServer
hostName = "localhost"
serverPort = 4000