0 votes
in Kotlin by
What is Ranges operator in Kotlin?

1 Answer

0 votes
by

Ranges operator helps to iterate through a range. Its operator form is (..)  For Example

for (i in 1..15)

print(i)

It will print from 1 to 15 in output.

...