如何使用python脚本以特定的间隔连接行?你知道吗
我正在为比赛做文本分析。但这也有问题。在html扩展文件<p>1. *</p>
中,问题以数字开头,后跟“.”行在下面给出的html扩展文件中。你知道吗
<p>1. Arrange the following words as per the order in dictionary.</p>
<p>1. Inappropriate</p>
<p>2. Inappeasable</p>
<p>3. Inaptitude</p>
<p>4. Inapplicable</p>
<p>5. Inapprehensible</p>
<p>(1) 25431</p>
<p>(2) 13425</p>
<p>(3) 24513</p>
<p>(4) 52341</p>
<p>Answer key: 3</p><p>This is the correct form as per the order in dictionary.</p><p>Inappeasable> Inapplicable> Inapprehensible> Inappropriate> Inaptitude</p>
<p>1. Inappropriate</p>
<p>2. Inappeasable</p>
<p>3. Inaptitude</p>
<p>4. Inapplicable</p>
<p>2. Arrange the following words as per the order in dictionary.</p>
<p>1. Venomous</p>
<p>2. Ventrose</p>
<p>3. Veneration</p>
<p>4. Vengeance</p>
<p>5. Ventilation</p>
<p>(1) 43521</p>
<p>(2) 31425</p>
<p>(3) 43251</p>
<p>(4) 34152</p>
<p>Answer key: 4</p><p>This is the correct form as per the order in dictionary.</p><p>Veneration> Vengeance> Venomous> Ventilation> Ventrose</p>
输出文件必须如下….
如果有几行是问题的一部分,后面是数字,上面给出的“.”应该是问题本身的一部分,如下所示。。你知道吗
<p>1. Arrange the following words as per the order in dictionary.</p><p>1. Inappropriate</p><p>2. Inappeasable</p><p>3. Inaptitude</p><p>4. Inapplicable</p><p>5. Inapprehensible</p>
<p>(1) 25431</p>
<p>(2) 13425</p>
<p>(3) 24513</p>
<p>(4) 52341</p>
<p>Answer key: 3</p><p>This is the correct form as per the order in dictionary.</p><p>Inappeasable> Inapplicable> Inapprehensible> Inappropriate> Inaptitude</p><p>1. Inappropriate</p><p>2. nappeasable</p><p>3. Inaptitude</p><p>4. Inapplicable</p>
<p>2. Arrange the following words as per the order in dictionary.</p><p>1. Venomous</p><p>2. Ventrose</p><p>3. Veneration</p><p>4. Vengeance</p><p>5. Ventilation</p>
<p>(1) 43521</p>
<p>(2) 31425</p>
<p>(3) 43251</p>
<p>(4) 34152</p>
<p>Answer key: 4</p><p>This is the correct form as per the order in dictionary.</p><p>Veneration> Vengeance> Venomous> Ventilation> Ventrose</p>
请帮帮我。。你知道吗
最后,我能够为我提出的问题编写代码。代码如下所示。。你知道吗
但是在这段代码中有一个问题是,这将只适用于我在上面的问题中发布的格式。你知道吗
相关问题 更多 >
编程相关推荐