①x//7 = x/7 ②x//7= = 0 ③x%7= = 0 ④x = =7*int(n) ⑤x//7= = int(x/7)
x = 12 + 3 * (5 * 8-14)//5
print (x)
flag = False
name= "C++"
if name == "Python":
flag = True
print ("Welcome")
else:
print (name)
n=0
for i in range(1,4):
n=n+i
print (n)
s=[1,3,5,7,9]
s.insert(2,6)
print(s)
序号
姓名
性别
银行卡号
消费金额
1
张*申
男
6225********1234
156.80
这种数据保护称为( )
a=17.95
b= -18
m= int(a)
if abs (b) > m:
m = b
m = a
print ("m=",m)
x = int(input("请输入x的值"))
if x > 0 :
y = sqrt(2 * x) + 1
elif x == 0:
y = 0
y = x ** 2 -1
print (y)
for i in range(5) :
print(i)
c=0
list=[55,82,70,46,53,65,33,87,73,67]
for i in range(10):
if _____:
c = c + 1
print(“列表list中小于60的数的个数为:”, c)
a=input()
b=input()
c=a+b
print(c)
n = int(input("n="))
n = n % 1000
n = n // 100
x=25
y=15
if x/5==int(x/5):
x = x + y
y = x – y
print (x , y)
i = 0
sum = 0
t = 1
while sum < 10:
i = i+ 1
t=t*i
sum = sum + t
print (sum)
s = 0
for x in range(20,1,-3) :
s = s + x
print (s)
n = 36
for i in [2,3,4,5,6,7,8]:
if n % i == 0:
s = s + 1