ÖYK 2024 Kış Python 102

mail@pastecode.io avatar
unknown
python
2 months ago
497 B
1
Indexable
Never
import sys 
class test:
    def __init__(self, message): 
        self.text = "LINUX" 
        print("ABC") 

    def test(self,message): 
        def print(message): 
            sys.stdout.write("123\n") 
        print("deneme") 

    def print(self,message): 
        sys.stdout.write("test\n") 

t = test("Hello World") 
t.test("Hello World") 
test.test(None, "Hello World") 
t.print("Hello World") 
test.print(None, "Hello World") 
print("Hello World") 
print = t.print 
print("Hello World")
Leave a Comment