Last active
November 19, 2018 11:49
-
-
Save 3-24/4dac7469c2d279b25e696affcbe007ab to your computer and use it in GitHub Desktop.
This is variation of Feynnman's problem solving algorithm written in Python. This code requires coffee because I love it. Have FUN!
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
##### Feynnman Algorithm ##### | |
# 1. Write down the problem. | |
# 2. Think real hard. | |
# 3. Write down the solution. | |
############################## | |
class Paper(object): | |
def __init__(self): | |
self.s = "" | |
def write_down(self,string): | |
self.s += string | |
def solve_problem(problem,coffee): | |
paper = Paper() | |
paper.write_down(problem) | |
solution = think_REAL_hard(paper,coffee) | |
paper.write_down(solution) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment