百科网

首页 > 文化教育 > 文化教育

文化教育

if和unless的用法区别

文化教育佚名2023-03-16

if和unless的用法区别有:

1、不能用and连接两个unless从句,即不能用…unless…、and unless….但if…not and if… not却不受此限。
2、if 可用于引导虚拟条件句,unless一般不能引导虚拟条件句。

if的用法:

if表示如果,可用于从句,或者开头表示如果。

例句:If they were here,they would help you.