User Tools

Site Tools


python3_hello_world

This is an old revision of the document!


Hello World in Python3

| hello.py
print("Hello World!")

“Hello World!” in Python3 in 22 characters1).

1)
The default dokuwiki codebox strips out a final newline character. The standard Unix terminal program wc will report the download as 21 characters as it is presented here, and 22 with the final newline character after the final }. You may have to imagine this final character or add it yourself ; )
python3_hello_world.1533831938.txt.gz · Last modified: 2018/08/09 11:25 by jguerin