mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
(cherry picked from commit 4fefae6a1d9fbc6df174d53222ceba9208691b65) GitOrigin-RevId: d6e65ace1378765be246fe09a86d2bff133855df
23 lines
296 B
Python
23 lines
296 B
Python
from __future__ import print_function
|
|
|
|
|
|
def cond1():
|
|
return True
|
|
|
|
|
|
def cond2():
|
|
return False
|
|
|
|
|
|
if __name__ == '__main__':
|
|
xs = [1, 2, 3]
|
|
if 2 in xs:
|
|
print("YES")
|
|
else:
|
|
print("NO")
|
|
|
|
if cond1() and cond2():
|
|
print("YES")
|
|
else:
|
|
print("NO")
|