A simple Python solution
Define a function that takes two numbers as arguments. If both numbers are even, return the smaller one of them. If one numbers or both is odd, return the larger number between the two.
Define a function that takes two numbers as arguments. If both numbers are even, return the smaller one of them. If one numbers or both is odd, return the larger number between the two.
Have you ever tried to teach someone a specific information that you just learned? An information that you think you know and master well enough to help someone else know it as well? And, after you taught someone else your information, did you feel like you know and understand the information even better? Well, this is called the Protégé Effect….
| L | Ma | Mi | J | V | S | D |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||