s = '''Python was started in 1989 by "Guido".
Python is free and easy to learn.'''
print s
Python is free and easy to learn.'''
print s
2014-11-29
这题是这样的。第四位随便是提交时提示你59不匹配,这里提示的59是第四位的成绩,正好用倒叙[-1]可以。。我是这样理解的 勿喷。。。
2014-11-28
左边那儿写错了吧= =
x = '???' # 用户输入的字符串
if x != 'MON' and x != 'TUE' and x != 'WED' ... and x != 'SUN':
print 'input ok'
else:
print 'input error'
x = '???' # 用户输入的字符串
if x != 'MON' and x != 'TUE' and x != 'WED' ... and x != 'SUN':
print 'input ok'
else:
print 'input error'
2014-11-28
t = ('a', 'b', 'A', 'B')
2014-11-27
每一个课的任务无法让我们理解与实际应用的关系和意义,与例题等同的任务,成效较低,尤其对于没有编程基础的,不会自行发散的人来讲意义更不大了!
2014-11-27
s = 'Python was started in 1989 by \"Guido\".\nPython is free and easy to learn.'
print s
print s
2014-11-27