Now that we have Python up and running, we can write our first Python program.
Let's create a very simple program called
Hello World
. A "Hello, World!" is a simple program that outputs Hello, World!
on the screen. Since it's a very simple program, it's often used to introduce a new programming language to beginners.
Type the following code in any text editor or an IDE and save it as
hello_world.py
print("Hello, world!")
No comments:
Post a Comment