when to use class instantaneous and static method in python code example Example: cls in python import os clear = lambda: os.system('cls')