摘要:
1 #encoding=utf-8 2 from __future__ import division #除法总是会返回真实的商 3 from __future__ import unicode_literals #运行时中文编码正确 4 #练习1 5 string = 'hello,world' 6 intA = 5 7 print 'string is %s,... 阅读全文
摘要:
#encoding=utf-8 print('hello %s,world %d') %("ytwang",1) num = raw_input("enter a number:") print 'doubling your number :%d' % (int(num)*2) print -2*4+3**2 #我 #运算符 快速注释ctrl+shift+/ print 2 4 6.2 ... 阅读全文