r/Python • • May 25 '17

let's write a Python program

# one line per post (replies are indented!!!)
class Reddit:
4 Upvotes

53 comments sorted by

View all comments

3

u/Jumpy89 May 25 '17 edited May 25 '17

+/u/CompileBot Python 3

import ctypes; ctypes.c_int8.from_address(id(4) + 24).value = 5; print(2 + 2)