We are an early stage seed tech research venture.
BETA v9.5.0
Terms Privacy Policy
English flag
English
Select a Language
English flag
English
Afrikanns flag
Afrikanns
Albanian flag
Albanian
Arabic flag
Arabic
Armenian flag
Armenian
Bislama flag
Bislama
Bulgarian flag
Bulgarian
Chinese flag
Chinese
Croation flag
Croation
Czech flag
Czech
Danish flag
Danish
Dutch flag
Dutch
Estonian flag
Estonian
Finnish flag
Finnish
French flag
French
Georgian flag
Georgian
German flag
German
Greek flag
Greek
Hebrew flag
Hebrew
Hungarian flag
Hungarian
Italian flag
Italian
Japanese flag
Japanese
Laothian flag
Laothian
Latvian flag
Latvian
Lithuanian flag
Lithuanian
Maltese flag
Maltese
Norwegian flag
Norwegian
Polish flag
Polish
Portuguese flag
Portuguese
Romanian flag
Romanian
Slovak flag
Slovak
Slovenian flag
Slovenian
Spanish flag
Spanish
Swedish flag
Swedish
Turkish flag
Turkish
Ukranian flag
Ukranian
0
Learn Python Programming

Hello, World!

Get started learning Python with DataCamp's free Intro to Python tutorial. Learn Data Science by completing interactive coding challenges and watching videos by expert instructors. Start Now!
Study Duration
5 Min
Hello, World!
Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the "print" directive - it simply prints out a line (and also includes a newline, unlike in C).

There are two major Python versions, Python 2 and Python 3. Python 2 and 3 are quite different. This tutorial uses Python 3, because it more semantically correct and supports newer features.

For example, one difference between Python 2 and 3 is the print statement. In Python 2, the "print" statement is not a function, and therefore it is invoked without parentheses. However, in Python 3, it is a function, and must be invoked with parentheses.
Text Lesson 1/3
You are viewing
Hello, World!