填空题
Python 语句s1=[1,2,3,4];s2=[5,6,7];print(len(s1+s2))的运行结果是()。
7
填空题 Python 语句设s=’abcdefg’,则s[::-1]的值是()。
填空题 Python 语句print(tuple([1,2,3]),list([1,2,3]))的运行结果是()。
填空题 下列程序运行后,在键盘输入"apple and peach",则程序运行结果是()。str=input("请输入一串字符串:")flag=0count=0for c in str:if c=="":flag=0else:if flag==0:flag=1count=count+1print(count)