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