python基础篇-输入和输出

输出

print ('hello, world')

print('The quick brown fox', 'jumps over', 'the lazy dog')

print(300)

print(100+200)

print('100 + 200 = ', 100 + 200)

输入

name = input('please enther your name:')
print('hello', name)

# -*- coding: utf-8 -*-
print('1024 * 768 =', 1024 * 768)

posted @ 2018-12-28 09:50  九头龙鳌龟  阅读(237)  评论(1编辑  收藏  举报