正在加载图片...
上游充通大学 ParisTech SHANGHAI JIAO TONG UNIVERSITY INSTITUT DES SCIENCES ET TECHNOLOGIES PARIS INSTITUTE OF TECHNOLOGY Logical operators 。and,or,not >>>X=5 >>>x%2==00rx%5==0 True >>>x%2==0andx%5==0 Fals a and b a b a or b a b not a a False False False False False False True False False False True True False True False True False True False True True False True True True True True True 6Logical operators • and, or, not >>> x = 5 >>> x%2 == 0 or x%5 == 0 True >>> x%2 == 0 and x%5 == 0 Fals 6
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有