from ctypes import * c_int.from_address(id(19) + int.__basicsize__).value = 21 print(9 + 10) # 21