I hereby claim:
- I am tarcisioe on github.
- I am tarcisioe (https://keybase.io/tarcisioe) on keybase.
- I have a public key ASCYVb93vsHcpXgxzWzNC9dC_tS6JiZBn-hDebBRqjtr_Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
find_file_backwards() { | |
while [[ "${current_path}" != "/" ]] | |
do | |
file="${current_path}/$1" | |
if [ -f "${file}" ] | |
then | |
echo "${file}" | |
return | |
fi | |
current_path="$(dirname "${current_path}")" |
import random | |
N_DOORS = 3 | |
N_REPETITIONS = 1000 | |
def stick(chosen, choice): | |
''' | |
This ignores the choice and sticks to the chosen door. | |
''' |