Brain Games Python: 99 Brain Teasers for Beginners to Energize Your Brain Cells and Python Logic Skills
id: 737021 VIP
Open in MaM
By Christian Mayer, Lukas Rieger, Zohaib Riaz
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader: draino
Uploaded At: 2021-07-07 09:13:25
Independently Published; 2019, Python Programming, Brain Teasers
Description
Tired of Brain Fog?
Brain Games Python: 99 Brain Teasers to Energize Your Brain Cells and Python Logic Skills
The Groundbreaking New Puzzle Book That:
- Revives Your Brain Cells
- Boosts Your Computational Intelligence
- Launches Your Programming Skills in Python
... Even If You Have Zero Programming Experience!
# PUZZLE
'''Bob is 4 years younger than Frank and 10 years older than Alice. Ann is with 35 years 6 years older than Alice. What's the age difference (in years) between the oldest and youngest person?'''
Can you solve this puzzle? Or try the next one:
# PUZZLE
[11, -10, 4, -3, 4, 4, ?]
What's the next sequence element? Here's a third more Pythonic puzzle:
# PUZZLE
a, b = True, True
if b or a or not a and not b:
if a:
print('love')
elif b and a or not a:
print('42')
print('42')
elif a and b or not a:
if a or b or not b or not a:
print('42')
print('yes')
else:
print('yes')
The book is full with 99 such brain puzzles that make you smarter -- in logics, intelligence, and Python programming!
(Written for absolute beginners and intermediates in the Python programming language.)