运行下列程序,输出结果正确的是?( )
def demo(lst, k): if k<len(lst): return lst[k:]+lst[:k] lst=[1,2,3,4,5,6] print(demo(lst,4))
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。