Python połowa sznurka
First_half=YourString[:len(YourString)//2]
Second_half=YourString[len(YourString)//2]
SvR
First_half=YourString[:len(YourString)//2]
Second_half=YourString[len(YourString)//2]