January 2023
Intermediate to advanced
552 pages
13h 38m
English
In this chapter you’ll learn about the different kinds of data you can work with in your Python programs. You’ll also learn how to use variables to represent data in your programs.
Let’s take a closer look at what Python does when you run hello_world.py. As it turns out, Python does a fair amount of work, even when it runs a simple program:
hello_world.py
print("Hello Python world!")
When you run this code, you should see the following output:
Hello Python world!
When you run the file hello_world.py, the ending .py indicates that the file is a Python program. ...
Read now
Unlock full access