Different small python codes developed