print(num1<=num2) print("If num1 > 2 or num2 > 2?") print(num1 > 2 or num2 > 2) print("If num1 > 2 and num2 > 2?") print(num1 > 2 and num2 > 2) array=['Celevand','Akron','Miami'] print(array) print("If 'Beijing' in array?") print('Beijing' in array) ...
if a + b > c and a + c > b and b + c > a: if a == b == c: print("这是一个等边三角形") elif a == b or a == c or b == c: print("这是一个等腰三角形") else: print("这是一个普通三角形") else: print("这不是一个三角形") ``` 7. 根据输入的年龄和性别判断...