s = 0
for i in range(1,11):
t = 2 * i - 1
s = s + t
print (s)
执行后,屏幕将输出( )
if k<=10 and k >0:
if k >5:
if k>8:
x=0
else:
x=1
if k>2:
x=3
x=4
其中k取哪组值时,x=3。( )
a=1
b=a+1
print(a,b)
a=5
b=6
if a>=b :
print (a)
else
print (b)
list=['a','b','c','d','e','f','g']
list1=[]
list2=[]
for i in range(7):
if i%2==0:
list1.append(list[i])
list2.append(list[i])
print(list1)
x=int(input("请输入一个正整数:"))
if x%2==0:
print(x,"是偶数.")
print(x,"是奇数.")