take half string python code example Example: python half of string First_half=YourString[:len(YourString)//2] Second_half=YourString[len(YourString)//2]