if : elif : else : print('{0} \n{1} \n{2}' .format((a + b), (a - b), (a * b))) print(*[num**2 for num in range(n)], sep = '\n') def f(): return condition # 直接返回判断的条件真或假 print(*range(1, int(input())+1), sep= '') x, y, z, n = (int(input()) for _ in ran…