Video Games
Popular video games like Civilization, Battlefield, and World of Tanks use this Python in their architecture. Its application is growing in game development due to the constant improvement and release of specific Python game dev frameworks and libraries.
Streaming and Cloud Storage
Youtube, Netflix, Spotify, and Dropbox use Python. Worth mentioning that Guido van Rossum has been working in the Dropbox company from 2013 until his official retirement in 2019.
Space And Neural Network
NASA uses Python in their Workflow Automation Systems, while SpaceX uses Python for testing.
Tesla uses Python too. Its developers build Autopilot neural network initially in Python for rapid iteration; Python's syntaxis is clean and minimalistic. It allows building and testing functional prototypes fast.
CHAPTER ONE: LET’S GET CODING!
1 Your First Line Of Code
Any, even the most advanced python program, starts with the first line of code. Here is an example of a simple program that has just one line of code. The only thing the program does is it outputs the message: "Hey! This is my first line of code!"
Open the console and write the following:
print("Hey! This is my first line of code!")
Don't worry. We'll learn what this code means in the following chapters. Now it's essential to get you going! When done, run the code by hitting the green play button. Here is the result you should get:
Well done! You've just started and have already written your first simple program.
Even if it was just a single line of code, we've created a program. Like those that make computers work.
But what is a program? A program is a set of instructions and rules for a computer written in a programming language. If that makes sense, let's go on and reinforce what we have learned. Here is the code I've shuffled. It will help if you put it so that it would make it work.
"Once upon a time…!" () print
If you put it right, you should get a program that prints a sentence. Here it is below.
Are you done with the task? Great! In both programs that we have just created, we used a print function. We will use it a lot in this book. But first, let's dive a little deeper into it.
Print is the function that does what it's called: it "prints" text on a screen. Programmers use this function to show messages to users. Such as "Your session is expired, please log in" or "Your password is too weak, please use a stronger password," etc.