Brain Games Python: 99 Brain Teasers for Beginners to Energize Your Brain Cells and Python Logic Skills - Softcover

Mayer, Dr. Christian; Rieger, Lukas; Riaz, Zohaib

 
9781709452444: Brain Games Python: 99 Brain Teasers for Beginners to Energize Your Brain Cells and Python Logic Skills

Inhaltsangabe

Tired of Brain Fog?

This Groundbreaking New Puzzle Book

  • Revives Your Brain Cells

  • Boosts Your Computational Intelligence

  • Launches Your Programming Skills in Python

... Even If You Have Zero Programming Experience!


“I'm learning Python this semester as part of my degree and I found your way of explaining things way better than my professor's (well, at least it works for me).” -- Rochan, about puzzle-based learning


“I'm just about done with "Brain Games Python". Your material is outstanding and I've learned a tremendous amount!” -- Jim Woodword, about Brain Games Python


Here are a few example puzzles:


# 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.)


Table of Contents


1 Programming Your Intelligence

1.1 Intended Audience 

1.2 Puzzle-based Learning to Code 

1.3 How to Read This Book

1.4 How to Test and Train Your Skills? 

2 How to Boost Your Intelligence? 10 Tips From Science 

2.1 Sleep More

2.2 Don’t Do Drugs

2.3 Eat Brain Food

2.4 Meditate

2.5 Exercise 

2.6 Read More

2.7 Set Goals

2.8 Focus

2.9 Play Your Strengths 

2.10 Play Brain Games

3 Absolute Computer Science Basics for NonCoders 

3.1 What is Program Code?

3.2 How to Read Program Code?

3.3 Variables

3.4 Control Flow

3.5 Functions 

3.6 Boolean Operators

3.7 Truth Tables

3.8 Advanced Boolean Operators

3.9 Boolean Operators Precedence

3.10 Happy Puzzle Solving!

4 Kindergarten Logic

5 Complete the Sequence

6 If Confusion

7 Find the Age Difference

8 Eleven DNF puzzles

9 Eleven All and Any Puzzles

10 Word Similarity

11 Mental Math

12 Find Your Age

13 Final Remarks

13.1 Your skill level 

13.2 Where to go from here? 

Bibliography

Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.