aboutsummaryrefslogtreecommitdiff
path: root/challenge-108/paulo-custodio/python/ch-1.py
blob: 132951c1825570d32ae596e2b207accff38afab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env python3

# Challenge 108
#
# TASK #1 - Locate Memory
# Submitted by: Mohammad S Anwar
#
# Write a script to declare a variable or constant and print it's location in
# the memory.

var = "hello world"
print(hex(id(var)))