Ad
Code
Diff
  • (_ := open("\\", "w")).write("hellohell\n");_.close();__import__("sys").stdin = open("\\", "r")
    
    • class HelloWorld:
    • def __init__(self, param=''):
    • self.param = param
    • def message(self):
    • return f'Hello, {self.param.title()}!' if self.param else 'Hello, World!'
    • (_ := open("\\", "w")).write("hellohell\n");_.close();__import__("sys").stdin = open("\\", "r")
Code
Diff
  • def Disemvowel(_):
        l = (lambda: "".join(filter(lambda _: not (_.lower() in "aoeiu"), _)))
        l.scalpel = l
        return l
    
    • import re
    • class Disemvowel:
    • def __init__(self, s):
    • self.s = s
    • def scalpel(self):
    • return re.sub(r'[AEIOU]', '', self.s, flags=re.IGNORECASE)
    • def Disemvowel(_):
    • l = (lambda: "".join(filter(lambda _: not (_.lower() in "aoeiu"), _)))
    • l.scalpel = l
    • return l