無
*注意事項(xiàng):
n = 10
list = [ 1, 5, 2, 3, 8, -9, 5, 6, 7, -10 ]
s = 0
i = 0
while list[ i ] > 0 and i <= n:
s += 1
i += 1
運(yùn)行該程序后s的值為()
m=29
If m %3!= 0:
print(m,"不能被3整除")
else:
print(m,"能被3整除")
sum=1
for i in range(2,5):
sum=sum*i
print(sum, i)
程序的運(yùn)行結(jié)果為( )。
m=int(input(“請輸入一個(gè)數(shù);”))
n=int(input(“請輸入一個(gè)數(shù);”))
m*=n
n//=m
m//=n
print(m,n)
A=int(input( ))
print(A * 5)
微信掃碼預(yù)覽、分享更方便
詳情