代码:
a = 1 b = 2 result = "a>b" if a > b else "a<b" print(result)
运行结果:
a<b
原文地址:https://www.cnblogs.com/jumpkin1122/p/11503252.html
时间: 2024-11-14 13:48:35
代码:
a = 1 b = 2 result = "a>b" if a > b else "a<b" print(result)
运行结果:
a<b
原文地址:https://www.cnblogs.com/jumpkin1122/p/11503252.html