在Python中,可以使用一行内的if-else语句来简写条件语句,例如:. if condition: statement1 else: statement2. 可以写成:. statement1 if condition else ...
確定! 回上一頁