正在加载图片...
上游充通大学 ParisTech SHANGHAI JIAO TONG UNIVERSITY INSTITUT DES SCIENCES ET TECHNOLOGIES PARIS INSTITUTE OF TECHNOLOGY Chained Conditionals if x ==y: print x,"and",y,"are equal" elif x y: print x,"is greater than",y else: no yes print x,"is less than",y print x,"and",y,"are equal" 11Chained Conditionals 11 if x == y: print x, "and", y, "are equal" elif x > y: print x, "is greater than", y else: print x, "is less than", y
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有