Logo

Programming-Idioms

History of Idiom 1 > diff from v94 to v95

Edit summary for version 95 by laowantong:
[Python] Suppressed : "will work in Python 2 with the correct import." As a matter of fact, this works under Py2 without import.
↷

Version 94

2020-05-03, 21:46:27

Version 95

2020-05-04, 08:18:33

Idiom #1 Print Hello World

Print a literal string on standard output

Idiom #1 Print Hello World

Print a literal string on standard output

Code
print("Hello World")
Code
print("Hello World")
Comments bubble
This works in Python 3, and will work in Python 2 with the correct import.