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