我有一个要求,在那里我需要把我的文本文件转换成csv,并使用python来做这件事。我的文本文件是这样的
1. Which of the following structure are made of several layer's of cells :-
(A) Ciliated epithelium (B) Stratified epithelium
(C) Cuboidal epithelium (D) Columnar epithelium
2. Which simple epithelium tissue cells are square in vertical sections and Polygonal in horizontal section
(A) Columnar epithelium (B) Squamous epithelium
(C) Cuboidal epithelium (D) Ciliated epithelium
我想要一个CSV,如下所示:
1, "Which of the following structure are made of several layer's of cells :-", "Ciliated epithelium", "Stratified epithelium", "Cuboidal epithelium", "Columnar epithelium"
2, "Which simple epithelium tissue cells are square in vertical sections and Polygonal in horizontal section", "Columnar epithelium", "Squamous epithelium", "Cuboidal epithelium", "Ciliated epithelium"
我试过多种方法,但都没有成功。有什么办法解决这个问题吗?提前谢谢。你知道吗
下面是一个基于示例输入的分步示例:
输出:
试试这个代码!你知道吗
我还附加了csv文件的输出。你知道吗
相关问题 更多 >
编程相关推荐