Hello world has officially become the first program you run when learning a language newly.
No matter what language you are learning it always involves the same techniques:
-skeleton of the language
-print function of the language
Print
in computer programming is basically a code use to display a text to
the screen. Whether it's cout, print etc. They all carry out the same
function.
HELLO WORLD
1)
Start your pycharm. If this is your first start up, a lot of thing will
pop up for you to adjust or configure the application.
Once you are done you'll need to start a new project.
2)
The code. The source code for the python hello world program is very
short and easy to master. All you need to do is introduce the print()
function.
Syntax below:
print('hello world')
Unlike most programming languages, python doesn't require you to end your line with a semi colon.
Congratulations, you just wrote your first python program.

No comments:
Post a Comment