对可迭代对象进行列表推导
您已经知道列表推导式可以基于可迭代对象来构建。给定下面这些对象,其中哪些可以用于构建列表推导式?
doctor = ['house', 'cuddy', 'chase', 'thirteen', 'wilson']
range(50)
underwood = 'After all, we are nothing more or less than what we choose to reveal.'
jean = '24601'
flash = ['jay garrick', 'barry allen', 'wally west', 'bart allen']
valjean = 24601
本练习是课程的一部分
