When I make a list of strings, how do I define the limits of what I want to add to the first element, and what to the second and so on?
For example, I have a line:
'I am a person (1995) Russia' And my goal is to create such a list:
['I am man', '(1995)', 'Russia']
'I am a person'get'I am man'from'I am a person''I am man'splitting a string? Did you read your question before posting it? - Nick Volynkin ♦как мне обозначить пределы того, что я хочу добавить к первому элементу, а что ко второму и так далее- first you need to formulate in simple Russian language the rules by which you will divide a line or select elements from it. A good problem statement is half the solution. - Nick Volynkin ♦