s = set(['Adam', 'Lisa', 'Paul'])
L = ['Adam', 'Lisa', 'Bart', 'Paul']
s.remove('Adam')
s.remove('Lisa')
s.remove('Paul')
s.add('Bart')
print s
这样也能过,哈哈哈哈哈哈
L = ['Adam', 'Lisa', 'Bart', 'Paul']
s.remove('Adam')
s.remove('Lisa')
s.remove('Paul')
s.add('Bart')
print s
这样也能过,哈哈哈哈哈哈
2014-12-11
这答案设置的真水,如下打出来才是题目吧!
'''Python was started in 1989 by \"Guido\".
python is free and easy to learn.'''
'''Python was started in 1989 by \"Guido\".
python is free and easy to learn.'''
2014-12-11
已采纳回答 / 懒虫009
你用x1,x2=quadratic_equation(2, 3, 0)方式,就会知道你理解错误。x,y,。。。=方式是取得tuple里的值,直接调用函数自然返回tuple
2014-12-11