Kotlin study notes | range

This article is from the "Golden teacher's computer self-site" learning the notes on the strong push! Content is particularly good. There is a need to learn oh ~


 

1, closed interval

Note: You can only be an integer, the default ascending!

2. Define the interval 

 

3, interval traversal

4, the half-closed interval descending section

 

 

 

 


This article is from the "Golden teacher's computer self-site" learning the notes on the strong push! Content is particularly good. There is a need to learn oh ~ 

Published 138 original articles · won praise 63 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_43787043/article/details/104584072