【发布时间】:2021-02-21 20:10:15
【问题描述】:
我有一个关于input的问题
description = input('add description: ')
我正在使用 Ctrl+C 和 Ctrl+V 添加文本。
例如:
“短篇小说本身就是一种精心设计的形式。短篇小说 利用情节、共振和其他动态组件,如 新颖,但通常程度较轻。虽然短篇小说是 很大程度上不同于小说或中篇小说/短篇小说,作者 通常从共同的文学技巧库中汲取灵感。
确定短篇小说与长篇小说的确切区别 格式有问题。短篇小说的经典定义是 一个人应该能够一口气读完,最值得注意的一点 创作于埃德加·爱伦·坡的论文《作曲哲学》 (1846)"
结果是:
description = "The short story is a crafted form in its own right. Short stories make use of plot, resonance, and other dynamic components as in a novel, but typically to a lesser degree. While the short story is largely distinct from the novel or novella/short novel, authors generally draw from a common pool of literary techniques."
虽然我希望描述包含我复制的整个文本链。
【问题讨论】:
-
是的;你错过了阅读
input的文档。根据定义,输入字符串以 EOL 字符结尾。