I hereby claim:
- I am xdrosenheim on github.
- I am xdrosenheim (https://keybase.io/xdrosenheim) on keybase.
- I have a public key ASAP-f4Yqps1CIpRx6uTXe7Skv4gvO9GGG4PllDfEvJF7Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # Calculating a loan | |
| def function(p, ir, d): | |
| p = float(p) | |
| d = int(d * 12) | |
| if ir == 0: | |
| return p / d | |
| else: | |
| ir = float((ir / 100) / 12) | |
| temp1 = ir * ( 1 + ir ) ** d | |
| temp2 = ( ( 1 + ir ) ** d) - 1 |
| { | |
| "Absolute zero" : "#0048BA", | |
| "Acid green" : "#B0BF1A", | |
| "Aero" : "#7CB9E8", | |
| "Aero blue" : "#C9FFE5", | |
| "African violet" : "#B284BE", | |
| "Air Force blue (RAF)" : "#5D8AA8", | |
| "Air Force blue (USAF)" : "#00308F", | |
| "Air superiority blue" : "#72A0C1", | |
| "Alabama crimson" : "#AF002A", |
| using System; | |
| namespace MontyHall { | |
| internal class Program { | |
| private static void Main() { | |
| var rnd = new Random(); | |
| bool[] doors = { false, false, false }; | |
| const int iterations = 10000000; | |
| var counter = 0; | |
| var winsOnChange = 0; |
| ☐ Not REKT | |
| ☑ REKT | |
| ☑ Really Rekt | |
| ☑ REKTangle | |
| ☑ SHREKT | |
| ☑ REKT-it Ralph | |
| ☑ Total REKTall | |
| ☑ The Lord of the REKT | |
| ☑ The Usual SusREKTs | |
| ☑ North by NorthREKT |