Hello World!
If you downloaded and installed Python software on your computer, it means you are ready to learn.
Lets start to type codes and small programs.
First one is Hello world!
To display any text as message or information on the screen, you can just type the print function with the following signs and texts as below.
print("Hello world!")
Then under this code, you will see the text as below.
Hello world!
Functions are pieces of code that perform a unit of work. We'll talk a lot more about functions later on, and you'll even learn how to write your own. Keywords are reserved words that are used to construct instructions. These words are the core part of the language and can only be used in specific ways. Some examples include if, while, and for.
No comments:
Post a Comment
Your comment will taken into consideration.