Editing 353: Python
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
==Explanation== | ==Explanation== | ||
− | {{w|Python (programming language)|Python}} is a programming language designed specifically to make it easy to write clear, readable programs. Flying is often used as a metaphor for freedom and ease, and here Randall shows Cueball literally flying in response to using Python. | + | {{w|Python (programming language)|Python}} is a programming language designed specifically to be make it easy to write clear, readable programs. Flying is often used as a metaphor for freedom and ease, and here Randall shows Cueball literally flying in response to using Python. |
A {{w|"Hello, World!" program}} is a very simple program that prints the phrase "Hello, World!", used in textbooks to illustrate a given programming language. While this sounds simple, it can be nontrivial in some programming languages where you need to explicitly import a library that contains the <code>print</code> function (for instance, in C you need to begin with <code>#include <{{w|stdio.h}}></code>) or do complicated things with classes and variables (see [https://en.wikibooks.org/wiki/Computer_Programming/Hello_world#Java the Java "Hello, World!"] for one example). Python doesn't need any of that: <code>print("Hello, world!")</code> (or in Python 2, <code>print "Hello, world!"</code>) really is all you need to do. | A {{w|"Hello, World!" program}} is a very simple program that prints the phrase "Hello, World!", used in textbooks to illustrate a given programming language. While this sounds simple, it can be nontrivial in some programming languages where you need to explicitly import a library that contains the <code>print</code> function (for instance, in C you need to begin with <code>#include <{{w|stdio.h}}></code>) or do complicated things with classes and variables (see [https://en.wikibooks.org/wiki/Computer_Programming/Hello_world#Java the Java "Hello, World!"] for one example). Python doesn't need any of that: <code>print("Hello, world!")</code> (or in Python 2, <code>print "Hello, world!"</code>) really is all you need to do. |