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.

27 lines
362B

  1. # aaa={"1":"1","2":"2","3":"3","4": {"1": "4"}}
  2. # for i,v in aaa.items():
  3. # if i =="4":
  4. # v["1"] = "5"
  5. #
  6. # print(aaa)
  7. # class base(object):
  8. # __slots__=('x')
  9. # var=8
  10. # def __init__(self):
  11. # pass
  12. #
  13. # def aa(self):
  14. # print("aa")
  15. #
  16. # b=base()
  17. # b.x=88
  18. # print(b.aa())
  19. aa = [1,2,3]
  20. a,b,c = aa
  21. print(a)
  22. print(b)
  23. print(c)