+ 2
Kotlin: Can "range" be used for decimal numbers?
Kotlin: Can "range" be used for decimal numbers?
2 ответов
+ 5
Your usage is limited to within or not, but yes.
https://code.sololearn.com/c9kbU8ZsD01j
+ 4
This got me thinking it should be possible to implement an iterator. Therefore, I proved it. This doesn't implement everything you might want.
https://code.sololearn.com/cM0Q62d3c61n