Now Function In Geeksforgeeks In Python