use a class in a metho code example Example: cls in python import os clear = lambda: os.system('cls')