Skip to content

Instantly share code, notes, and snippets.

View PHenegan's full-sized avatar

Patrick Henegan PHenegan

View GitHub Profile

Keybase proof

I hereby claim:

  • I am phenegan on github.
  • I am phenegan (https://keybase.io/phenegan) on keybase.
  • I have a public key ASDfiJWtLxBhDnNX1XwLBqyC2i1O6xf2BZRY895G1Imcdgo

To claim this, I am signing this object:

@PHenegan
PHenegan / cipher.py
Last active April 12, 2021 18:02
Mobile CSP Cipher App
import math
def main():
optionsList = ["Encrypt a message", "Encrypt a message with modified spacing", "Decrypt a message", "Decrypt a message and remove spacing", "Quit"]
correctInput = False
userChoice = 0
userString = ""
userOffset = 0
newMessage = ""
print("====Welcome to [CipherApp]====")
@PHenegan
PHenegan / QuizApp_PH.py
Last active March 3, 2021 03:11
Python Quiz App for Mobile CSP Lesson 5.6
def main():
answer = input("Would you like to take the quiz? (y/N): ")
if (answer.lower() == "yes" or answer.lower() == "y"):
print()
takeQuiz()
def takeQuiz():
questionList, answerList = loadQuiz("quiz.txt")
userResponseList = []