Write a Python program to get variable unique identification number or string

  • برمجة
  • برمجة بايثون

Write a Python program to get variable unique identification number or string

الأجوبة

x = 100
print(format(id(x), 'x'))
s = 'w3resource'
print(format(id(s), 'x')) 
هل كان المحتوى مفيد؟

تبحث عن مدرس اونلاين؟

محتاج مساعدة باختيار المدرس الافضل؟ تواصل مع فريقنا الان لمساعدتك بتأمين افضل مدرس
ماهو التخصص الذي تبحث عنه؟
اكتب هنا...