Browse Articles

Python 中的 range 函数为什么要设计成「左闭右开」的样子,这是有啥用意吗?

intermediate知乎1 min read
View original source →
Share

Reading

Translation
(,) [,) , ,

Tap any word above to look it up or add it to your review deck

Key Vocabulary

设计shè jìHSK5

to design; to plan

包含bāo hánHSK5

to contain

deHSK1

a taxi; a cab (abbr. for 的士[di1 shi4])

shìHSK1

to be (followed by substantives only)

chéngHSK6

to be all right

yòuHSK3

and yet

HSK1
用意yòng yìHSK7

intention

HSK1
下限xià xiàn
什么shén meHSK1

something; anything

上限shàng xiànHSK7

upper bound

zhèHSK1

(bound form) this; the (followed by a noun)

HSK4

since

可不是kě bù shìHSK7

(coll.) exactly!; indeed; that's for sure

leHSK1

(modal particle intensifying preceding clause)

wànHSK2

used in 万俟[Mo4 qi2]

yàoHSK1

if (same as 要是[yao4 shi5])

可以kě yǐHSK1

able to

没有méi yǒuHSK1

haven't

Log in to save vocabulary
0💬 0
Comments (0)

Log in to leave a comment.

Loading comments...