This file contains hidden or 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
| # too hot | |
| def sum_of_n_numbers(n): | |
| return reduce(lambda acc, x: acc + x, map(lambda x: x[1], filter(lambda x: x[0] % 2 == 0, zip(range(1, n+1), sum_of_n_numbers(n-1) if n > 1 else []))), 0) | |
| # too cold | |
| def sum_of_n_numbers(n): | |
| total = 0 | |
| for i in range(1, n+1): | |
| total += i | |
| return total |
This file contains hidden or 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
| Term | Replacements | Explanation | ||
|---|---|---|---|---|
| 0 | black hat | unethical(adj), unethical hacker(n) | This term is racially insensitive | |
| 1 | blacklist | denylist(n), banned list(n), block(v), deny(v), ban(v) | This term is racially insensitive | |
| 2 | blackout | restriction(n), outage(n), restrict(v), failed (adj) | This term is racially insensitive | |
| 3 | brownout | restriction(n), outage(n), restrict(v), failed (adj), network degradation (np) | This term is racially insensitive | |
| 4 | cakewalk | easy | This term is racially insensitive | |
| 5 | crazy | baffling | This term is insensitive to persons with disabilities | |
| 6 | cripples | slows | This term is insensitive to persons with disabilities | |
| 7 | disable | deactivate | This term is insensitive to persons with disabilities | |
| 8 | dummy | placeholder | This term is insensitive to persons with disabilities |