Skip to content

Instantly share code, notes, and snippets.

@kingbode
kingbode / Tic-Tac-Toe.py
Last active August 28, 2022 14:24 — forked from CodeWithHarry/Tic-Tac-Toe.py
Code for the tic tac toe game we created in this video: https://youtu.be/E8fmDDtaHLU on CodeWithHarry channel on YouTube
'''
source
https://gist.github.com/CodeWithHarry/d83fed6958b7626ef51aa87c2d7130de?fbclid=IwAR27Zij46IBW2VNN1X3pcavktbTUZ0XFpzsKHgMHFnFRHvL_xX7enrd2NmA
'''
from colorama import Fore
def find_indices(list_to_check, item_to_find):
indices = []
for idx, value in enumerate(list_to_check):
if value == item_to_find: