【单选题】以下程序的输出结果是: s='' ls = [1,2,3,4] for l in ls: s += str(l) print(s)
【单选题】字符串 s = "I love Python",以下程序的输出结果是: s = "I love Python" ls = s.split() ls.reverse() print(ls)
D.
['Python', 'love', 'I']
【简答题】#0032003500320039003800311584513805620 以下程序的输出结果是 ls = ["石山羊","一角鲸","南极雪海燕","竖琴海豹","山蝰"]
ls.remove("山蝰...
【单选题】字符串 s = "I love Python",以下程序的输出结果是: s="I love Python" ls=s.split() ls.reverse() print(ls)
B.
['Python', 'love', 'I']
【单选题】字符串 s = “I love NCIAE”,以下程序的输出结果是: s = “I love NCIAE ” ls = s.split() ls.reverse() print(ls)
A.
‘ NCIAE ’, ‘love’, ‘I’
D.
[‘ NCIAE ’, ‘love’, ‘I’]