You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 line
611B

  1. # a=None
  2. # for i in range(12):
  3. # if a is None:
  4. # a = str(i)
  5. # else:
  6. # a = '%s,%s' % (a, str(i))
  7. # print(a)
  8. # a=[1,2,3,4,5,8, 9]
  9. # b=[1,3,2]
  10. # if set(a) >= set(b):
  11. # print("a")
  12. # else:
  13. # print("b")
  14. from enums.ModelTypeEnum import ModelType
  15. if ModelType.WATER_SURFACE_MODEL == ModelType.FOREST_FARM_MODEL:
  16. print("aaaaa")
  17. else:
  18. print("bbbbbbbbbb")
  19. if isinstance(ModelType.WATER_SURFACE_MODEL, ModelType):
  20. print("aaaaa")
  21. else:
  22. print("bbbbbbbbbb")
  23. if type(ModelType.WATER_SURFACE_MODEL)==ModelType.FOREST_FARM_MODEL:
  24. print("aaaaa")
  25. else:
  26. print("bbbbbbbbbb")