![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[主观题]
以下程序的输出结果为()。import math s=0 for i in range(1,10+1): m=int(math.sqrt(i) ) if
以下程序的输出结果为()。import math s=0 for i in range(1,10+1): m=int(math.sqrt(i) ) if m%2==0: continue s=s+i print(s)
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
以下程序的输出结果为()。import math s=0 for i in range(1,10+1): m=int(math.sqrt(i) ) if m%2==0: continue s=s+i print(s)
程序的输出结果是什么?
import java.awt.Graphics; import java.applet.Applet;
public class ttt extends Applet
{
public void paint(Graphics g )
{
int count, xPos = 25;
for (count = 1; count<= 10; count++ )
{
if (count == 8 ) break;
g.drawString(" " + count, xPos, 25 );
xPos += 10;
}
}
}
运行以下程序,输出结果为()。tup=([1,2] , [4,3] , [6,5] , [7,8] ) lst=[ sum(i) for i in tup if i[0]>i[1] ] print(lst[1])
运行以下程序,输出结果为()。s='I like purple flowers' lst1=s.split() lst2=[len(i) for i in lst1] lst 2.sort(reverse=True) print(lst2[0])