Multiline Python String Functions Geeksforgeeks Java