@pompous@i.write.codethat.sucks
5 Followers
1 Following
31 Posts
asweigart/my_first_tic_tac_toe

my_first_tic_tac_toe - My first Tic Tac Toe program. I welcome any code reviews and pull requests!

anyone know of a good FOSS knowledge-base/notes creation tool? something like confluence? something to keep institutional knowledge organized, that isn't excel or word?
i.e. return re.match(self.basename, r"^(17|18|19|20)\d{2}\s-\s..*")

def directory_name_starts_with_year_and_space(self):
if not self.name_is_at_least_5_chars():
return False

if self.name[0].isdigit() \
and self.name[1].isdigit() \
and self.name[2].isdigit() \
and self.name[3].isdigit() \
and self.name[4].isspace() \
and self.name[5] == "-":

first_two_chars = self.name[0] + self.name[1]
return first_two_chars in ("19", "20")