Created
April 29, 2024 19:13
-
-
Save isotopp/c9d911406988360ac3fc958a9d8e31b4 to your computer and use it in GitHub Desktop.
Unwrap Python
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3 | |
from contextlib import contextmanager | |
class Keks: | |
def __init__(self): | |
self.a = 42 | |
self.b = "Hallo Welt" | |
keks = Keks() | |
a,b = keks.a, keks.b | |
print(a) | |
print(b) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment