python-tutorials/tests/HelloWorld.py

12 lines
232 B
Python

# -*- coding: utf-8 -*-
# 第一个 Python 程序 - Hello, World!
# Version: 0.1
# Author: YuCheng Hu
print('hello, world!')
print('你好', 'Python')
print('hello', 'world', sep=', ', end='!')
print('goodbye, world', end='!\n')