[文法] 请问一个句子的文法

楼主: josh227 (Life...)   2016-08-25 23:32:09
“Since findall() returns a list, we simply check if the number of elements
in our returned list is more than zero to print only lines where we found
at least one substring that looks like an email address"
在看一本程式的原文书时看到一段句子 虽然知道意思 但是句子中的"to print"
我不知道为什么会放在这个位置 可以麻烦高手帮我解惑一下吗? 谢谢
作者: poolongkong (普拢贡)   2016-08-25 23:45:00
不负责任猜测,"more than zero"当成形容词子句来看一起等高手专业详解 Orz
作者: gentianpan   2016-08-25 23:54:00
这个 findall() 的函式是用来打印只含有email位址字串的行列。难道这一章节没有实际 output somewhere?
作者: vincentman (Vincent)   2016-08-26 08:52:00
to意义等同in order to或so as to
楼主: josh227 (Life...)   2016-08-29 22:23:00
谢谢上面各位的帮忙 后来隔几天再看 的确如楼上V大所说的in order to 或 so as to的感觉 非常谢谢大家的帮忙^^

Links booklink

Contact Us: admin [ a t ] ucptt.com