Here is a quick Python coding puzzle or brain teaser for educational and/or entertainment purposes. The challenge is quite simple but is useful for learning or refreshing your coding skills while exercising some logical thinking. Objective Write a Python program that takes an input from the user (a word or a phrase) and tells the […]
Tag: puzzle
Brain Teaser: Get all numbers divisible by your choice of a number
Here’s a little brain teaser and the solution. The challenge is to get a number input from users and your task is to show all the numbers it can divide wholly (leaving no remainder) upto a certain limit. For example, if I want to know which numbers are divisible by 37, I would enter 37. […]
Python teaser/puzzle 45588-1346
This is a quick Python coding puzzle or brain teaser for educational and/or entertainment purposes. The challenge is quite simple but is useful for learning or refreshing your coding skills while exercising some logical thinking. Objective Write a Python function that returns the top n (highest) values from a list of numbers. For example, given […]
Python teaser/puzzle 45588-1338
This is a quick Python coding puzzle or brain teaser for educational and/or entertainment purposes. The challenge is quite simple but is useful for learning or refreshing your coding skills while exercising some logical thinking. Objective Write a function that returns the maximum difference between any two elements from a list of numbers. If the […]
Python teaser/puzzle 45588-1312
This is a quick Python coding puzzle or brain teaser for educational and/or entertainment purposes. The challenge is quite simple but is useful for learning or refreshing your coding skills while exercising some logical thinking. Objective Write a Python function that takes a list of integers as input and returns the 2 numbers that add […]
Can you solve this? Pattern matching
Every now and then, when my brain is bored, I come up with quizzes (around logic and code). This one’s about logic…specifically about color and order of the colored titles. Can you solve it? For more brain teasers and puzzles, click here.
If A=2, B = 10, C=30, D=68. what is E?
Hi again, time for a break 🙂 Fun little quiz, nothing to lose your sleep over because you can solve in a minute or two if you think about it, and it’s NOT a trick question. It has a definitive answer. The problem: If A=2, B = 10, C=30, D=68. what is E? (Assuming A-Z […]
Brain Teaser: Marbles
How many marbles and bags are used in the following scenario? For more brain teasers and puzzles, click here.
Brain teaser variation: Segment size
Determine the specific group size given the following situation. In a group of 50 kids, 30 are taking basketball and 15 are taking tennis lessons. Of the kids taking basketball or tennis, 12 are taking both lessons. How many are not taking either lesson? For more brain teasers and puzzles, click here.
Brain teaser: Class size
Determine the total class size given the following situation. For more brain teasers and puzzles, click here.