Brain Games Python: 99 Brain Teasers for Beginners to Energize Your Brain Cells and Python Logic Skills
by Christian Mayer
English | 2019 | ASIN: B081NXFLZZ | 195 Pages | PDF + Extras | 3.3 MB
by Christian Mayer
English | 2019 | ASIN: B081NXFLZZ | 195 Pages | PDF + Extras | 3.3 MB
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.)