This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |