Python 3基础教程8-if else语句

xiaoxiao2021-02-28  73

本文介绍if else语句,不多说,直接看例子。

# 这里介绍 if else语句 x = 5 y = 8 if x > y: print('x is greater than y') else: print('x is not greater than y')

转载请注明原文地址: https://www.6miu.com/read-44842.html

最新回复(0)