Skip to content

Instantly share code, notes, and snippets.

View StrangeRanger's full-sized avatar

Hunter T. StrangeRanger

View GitHub Profile
@StrangeRanger
StrangeRanger / number_factoring.py
Last active December 22, 2024 23:42
number_factoring.py
#!/usr/bin/env python3
#
# Take a user provided integer and find all of the possible factors for that number.
#
# Notes:
# Does not find the factors of negative numbers.
#
# Version: v1.1.3
# License: MIT License
# Copyright (c) 2020-2021 Hunter T. (StrangeRanger)
@StrangeRanger
StrangeRanger / matrix_phone_keywords.py
Last active December 22, 2024 23:44
THIS SCRIPT HAS NO USEFUL PRUPOSE. It is a script that was written up for a scenario at a SkillsUSA programming competition. It was supposed to connect any of 10 specified keywords to a randomized phone number. If the randomized keyword is one of the 10 knowns keywords, the call is excepted, but if the keyword did not match any of the known keyw…
import random
import string
accepted_keywords = [
"(nothing)",
"abc",
"deft",
"ghi",
"jkl",
"mno",