Skip to content

Instantly share code, notes, and snippets.

View se7kn8's full-sized avatar
💻
Working on things...

Sebastian Knackstedt se7kn8

💻
Working on things...
View GitHub Profile
@se7kn8
se7kn8 / StopWatch.ino
Created January 8, 2021 18:50
Simple one-button stopwatch with Arduino
/*
Digits
C3 = 13
C2 = 12
C1 = 11
C0 = 10
@se7kn8
se7kn8 / monty_hall.py
Created May 6, 2020 15:44
Monty Hall Problem in Python
import random
def print_result(right, wrong):
print("Right: %d", right)
print("Wrong: %d", wrong)
percentRight = (right / (right + wrong)) * 100.0
print("Percent: %d", percentRight)
print("")