Linux Mint Python Hello World

Опубликовано: 26 Декабрь 2024
на канале: Mark Delahay
120
2

Using Linux Mint and Python to create the "Hello World" program. Click "show more" for notes to this video.

Hello World is often the first program that anyone writes. Its a small step in the path of programming but an important one!

All text after the # (pound or hash symbol) is ignored by python and is used to write notes int the code.


The following command can either be run from the python terminal
(python terminal accessed by typing python from the terminal) or use a text editor to create a file i.e. "hello.py" and then run it by typing "python hello.py" from the terminal in the files location.

start of program

print "hello world"

end of program

Hope you enjoy as you learn :-)

--------------------------------------------------