# -*- coding: utf-8 -*-
#python 27
#xiaodeng
#python之函数用法id(),了解即可
#http://www.cnblogs.com/hongfei/p/3858256.html



#id()
#说明:查找对象的内存地址
'''
id(...)
    id(object) -> integer
    
    Return the identity of an object.  This is guaranteed to be unique among
    simultaneously existing objects.  (Hint: it's the object's memory address.)
'''


#案例
name='xiaodeng'
print id(name)#32256224

 

相关文章:

  • 2021-12-05
  • 2021-12-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案