题目
写出运行结果
>>> 3+0.5
>>>9**0.5
>>>123%10
>>> 10/2
>>>55//3
>>>(65-23)*2/3
>>>n=987
>>> format(n,'.1f')
>>> n=987
>>> float(n)
>>> n=1254.9
>>> int(n)
>>>print( format(n,'.1f'))
>>> n=“987”
>>> float(n)
>>> n=“1254.9”
>>> int(n)
答案:【1】3.5【2】3.0【3】3【4】5.0【5】17【6】28【7】987.0【8】987.0【9】1254【10】987.0【11】987.0【12】1254