User Tools

Site Tools


files:python3:hello

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 ; )
files/python3/hello.txt · Last modified: 2018/08/09 11:24 by jguerin