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)))