运行下列程序,输出结果正确的是?( )
def demo(lst, k): if k<len(lst): return lst[k:]+lst[:k] lst=[1,2,3,4,5,6] print(demo(lst,4))
[4,5,6,1,2,3]
[5,6,1,2,3,4]
[6,5,4,3,2,1]
[1,2,3,4,5,6]