У меня есть переменнаяКак предотвратить закрытие "в переменной
sentence = "In 1794, shortly after his arrival in Manchester, Dalton was elected a member of the Manchester Literary and Philosophical Society, the "Lit & Phil", and a few weeks later he communicated his first paper on "Extraordinary facts relating to the vision of colours", in which he postulated that shortage in colour perception was caused by discoloration of the liquid medium of the eyeball. In fact, a shortage of colour perception in some people had not even been formally described or officially noticed until Dalton wrote about his own. Since both he and his brother were colour blind, he recognized that this condition must be hereditary."
Теперь это может иметь как„“и„“из-за которой он закроет значение переменной. Я хочу, чтобы это предотвратить. есть ли другой способ хранения строки
_ "Теперь это может иметь как'" "'и' '' '" _ Почему? Вы генерируете код python? Если это так, вам нужно избегать строк, когда вы их печатаете. – Eric