I hereby claim:
- I am ElCap1tan on github.
- I am elcapitan (https://keybase.io/elcapitan) on keybase.
- I have a public key whose fingerprint is 46BC 0935 22EB D7B6 869A 22F1 E0B0 6F80 3327 2AAA
To claim this, I am signing this object:
import sys | |
class ProgressPrinter: | |
def __init__(self, units, unit_type='', max_length=50, pre='', post='', fill='=', head='>', empty=' '): | |
if units > max_length: | |
self.steps = max_length / units | |
self.max_length = max_length | |
else: | |
self.steps = 1 |
import hashlib | |
def hash_word(string, hash_method): | |
if hash_method == "md5": | |
return hashlib.md5(string.encode()).hexdigest() | |
if hash_method == "sha3_256": | |
return hashlib.sha3_256(string.encode()).hexdigest() | |
class Hangman: | |
def __init__(self): | |
self.stages = [] | |
self.stages.append(""" | |
___________.._______ | |
| .__________))______| | |
| | / / || | |
| |/ / || |
extern crate rand; | |
use std::io; | |
use rand::Rng; | |
use std::cmp::Ordering; | |
fn main() { | |
println!("Guess the number!"); | |
let secret_number = rand::thread_rng().gen_range(1, 101); |
I hereby claim:
To claim this, I am signing this object: