7 kyu
Selective fear of numbers
2,224 of 7,686Jotha
Description:
I've got a crazy mental illness. I dislike numbers a lot. But it's a little complicated: The number I'm afraid of depends on which day of the week it is... This is a concrete description of my mental illness:
Monday --> 12
Tuesday --> numbers greater than 95
Wednesday --> 34
Thursday --> 0
Friday --> numbers divisible by 2
Saturday --> 56
Sunday --> 666 or -666
Write a function which takes a string (day of the week) and an integer (number to be tested) so it tells the doctor if I'm afraid or not. (return a boolean)
Fundamentals
Similar Kata:
Stats:
Created | Jul 24, 2015 |
Published | Jul 24, 2015 |
Warriors Trained | 10691 |
Total Skips | 301 |
Total Code Submissions | 22593 |
Total Times Completed | 7686 |
JavaScript Completions | 2224 |
Python Completions | 2480 |
Ruby Completions | 298 |
C# Completions | 934 |
Haskell Completions | 163 |
C++ Completions | 588 |
NASM Completions | 11 |
C Completions | 180 |
Java Completions | 875 |
TypeScript Completions | 254 |
Julia Completions | 8 |
Total Stars | 80 |
% of votes with a positive feedback rating | 88% of 858 |
Total "Very Satisfied" Votes | 688 |
Total "Somewhat Satisfied" Votes | 133 |
Total "Not Satisfied" Votes | 37 |