for x in [1,2,3,4,5,6,7,8,9]:
for y in [ 0,1,2,3,4,5,6,7,8,9]:
num = int(x*10+y)
ten_bit = num / 10
ge_bit = num %10
if ge_bit>ten_bit and num < 100 and num >10:
print (num)
for y in [ 0,1,2,3,4,5,6,7,8,9]:
num = int(x*10+y)
ten_bit = num / 10
ge_bit = num %10
if ge_bit>ten_bit and num < 100 and num >10:
print (num)
2019-06-25
最赞回答 / 慕函数2327261
sum = 0x = 1n = 1while True: sum = sum + x x = x * 2 n = n+1 if n > 20: breakprint sum<...code...>
2019-06-24
最赞回答 / qq_慕神3467447
L = [75, 92, 59, 68] sum = 0.0 for x in L: sum = sum + x print sum / 4
2019-06-24