MIP.watch('count', function (newVal, oldVal) { fetch('http://www.chazidian.com/kaoshi/ajaxapi/?action=guanzhu&id=126970&type=2') .then(function (res) { var follows2 = MIP.getData('follows') if(follows2==1){ MIP.setData({ follows:2, title:'收藏' }) } if(follows2==2){ console.log(2) MIP.setData({ follows:1, title:'已收藏' }) } }) .catch(function (err) { console.log('数据请求失败!') }) })

运行以下程序:

try:

num=eval(input("请输入一个列表:"))

num.reverse()

print(num)

except:

print("输入的不是列表")

从键盘上输入1,2,3,则输出的结果是:

A、[1,2,3]
B、[3,2,1]
C、运算错误
D、输入的不是列表
查看答案
正确答案:

D

答案解析:

暂无解析

上一题
你可能感兴趣的试题

设 str = 'python' ,想把字符串的第一个字母大写,其他字母还是小写,正确 的选项是:

A、print(str[0]upper()+str[1:])
B、print(str[1]upper()+str[-1:1])
C、print(str[0]upper()+str[1:-1])
D、print(str[1]upper()+str[2:])

请用 Python 语言编写一个简易的计算器程序。

以下不属于 Python 的 pip 工具命令的选项是:

A、show
B、install
C、download
D、get

设str='python',想把字符串的第一个字母大写,其他字母还是小写,正确的选项是:

A、print(str[0]upper()+str[1:])
B、print(str[1]upper()+str[-1:1])
C、print(str[0]upper()+str[1:-1])
D、print(str[1]upper()+str[2:])

执行以下程序,输入la,输出结果是:

la='python'

try:

s=eval(input('请输入整数:'))

ls=s*2

print(ls)

except:

print('请输入整数')

A、la
B、请输入整数
C、pythonpython
D、python
热门试题 更多>
相关题库更多>
公共基础
Python语言程序设计
MS Office高级应用
Web程序设计
MySQL数据库程序设计