|
1234567891011121314151617181920212223242526272829 |
- # a=None
- # for i in range(12):
- # if a is None:
- # a = str(i)
- # else:
- # a = '%s,%s' % (a, str(i))
- # print(a)
- # a=[1,2,3,4,5,8, 9]
- # b=[1,3,2]
- # if set(a) >= set(b):
- # print("a")
- # else:
- # print("b")
- from enums.ModelTypeEnum import ModelType
-
- if ModelType.WATER_SURFACE_MODEL == ModelType.FOREST_FARM_MODEL:
- print("aaaaa")
- else:
- print("bbbbbbbbbb")
-
- if isinstance(ModelType.WATER_SURFACE_MODEL, ModelType):
- print("aaaaa")
- else:
- print("bbbbbbbbbb")
-
- if type(ModelType.WATER_SURFACE_MODEL)==ModelType.FOREST_FARM_MODEL:
- print("aaaaa")
- else:
- print("bbbbbbbbbb")
|