Hol dir mit Blinkist die besten Erkenntnisse aus mehr als 7.000 Sachbüchern und Podcasts. In 15 Minuten lesen oder anhören!
Jetzt kostenlos testen
Blink 3 von 12 - Eine kurze Geschichte der Menschheit
von Yuval Noah Harari
A Hands-On, Project-Based Introduction to Programming
Python Crash Course by Eric Matthes is a practical guide for beginners to learn Python programming. It covers basic concepts, coding exercises, and real-world projects, making it a comprehensive resource for mastering Python.
Stepping into the world of Python, you're beginning a journey with one of the most versatile and popular programming languages out there. Frequently used for web development, data analysis, and artificial intelligence, Python's design philosophy is underpinned by the “Zen of Python,” a set of guiding principles that stress the importance of readability and simplicity.
For the sake of this Blink, let's kick-start our journey with Python's foundational element, variables. Variables are essentially the labels for the data you want to store and manipulate in your program. They can hold various types of data, but let's focus on one type for now: strings. Strings are sequences of characters that hold textual information, like a simple sentence. These can be manipulated in various ways using methods such as lower(), upper(), and title() to change their case. The parentheses in these labels indicate that it's a function or method in programming. You can even merge strings together through a process known as concatenation, using the '+' operator.
Python, like other languages, also allows numeric data types. Integers, floats, and even numbers with exponents can be used seamlessly. To aid readability, underscores can be inserted in large numbers to separate groups of digits.
Documentation is key in programming, and Python allows this through comments, beginning with the '#', ensuring your code is easier for others, and yourself, to understand.
Now, imagine needing to manage a set of data in an ordered fashion. Python's lists come to your rescue. Defined with square brackets, lists are ordered collections of items. Each item in the list is assigned an index position, beginning at 0. Python allows not only accessing and modifying these items but also adding and removing items. With sort() and sorted() methods, lists can be sorted in a breeze.
To process these lists, Python provides what are called “for loops.” For each item in your list, a for loop will execute a block of code. A for loop can also be used just to execute a block of code multiple times, even if lists aren’t involved. Python also offers the range() function, which can generate a series of numbers, even allowing you to create lists from these ranges. To access subsets of your list, Python provides a concept called slicing.
Next in your toolkit are conditional statements. These allow your program to make decisions by evaluating conditions as True or False. Python offers “if,” “else,” and “elif,” to execute specific blocks of code when conditions are met. Python's design requires well-indented and readable “if” statements, echoing the Zen of Python.
Another powerful data structure Python offers is dictionaries. Dictionaries store data as key-value pairs, allowing quick access to values by referencing their keys. These are dynamic structures – you can add data anytime, and even nest dictionaries and lists to model more complex real-world data.
In essence, these tools unlock the doorway to Python's core: its data structures and fundamental programming concepts. Armed with this knowledge, you're well on your way to mastering Python.
Python Crash Course (2015) offers a comprehensive journey into the world of Python programming. From building dynamic web applications and engaging games to visualizing data and exploring core programming concepts, it equips learners with the skills to master this versatile language.
Ich bin begeistert. Ich liebe Bücher aber durch zwei kleine Kinder komme ich einfach nicht zum Lesen. Und ja, viele Bücher haben viel bla bla und die Quintessenz ist eigentlich ein Bruchteil.
Genau dafür ist Blinkist total genial! Es wird auf das Wesentliche reduziert, die Blinks sind gut verständlich, gut zusammengefasst und auch hörbar! Das ist super. 80 Euro für ein ganzes Jahr klingt viel, aber dafür unbegrenzt Zugriff auf 3000 Bücher. Und dieses Wissen und die Zeitersparnis ist unbezahlbar.
Extrem empfehlenswert. Statt sinnlos im Facebook zu scrollen höre ich jetzt täglich zwischen 3-4 "Bücher". Bei manchen wird schnelle klar, dass der Kauf unnötig ist, da schon das wichtigste zusammen gefasst wurde..bei anderen macht es Lust doch das Buch selbständig zu lesen. Wirklich toll
Einer der besten, bequemsten und sinnvollsten Apps die auf ein Handy gehören. Jeden morgen 15-20 Minuten für die eigene Weiterbildung/Entwicklung oder Wissen.
Viele tolle Bücher, auf deren Kernaussagen reduziert- präzise und ansprechend zusammengefasst. Endlich habe ich das Gefühl, Zeit für Bücher zu finden, für die ich sonst keine Zeit habe.
Hol dir mit Blinkist die besten Erkenntnisse aus mehr als 7.000 Sachbüchern und Podcasts. In 15 Minuten lesen oder anhören!
Jetzt kostenlos testenBlink 3 von 12 - Eine kurze Geschichte der Menschheit
von Yuval Noah Harari