Need Of Function In Python Practice