For counter 1 to 0 what is the possible values of the count (all) ?
8/3/2020 9:21:19 AM
This question should be reworked. Please give a more clear description or provide a code snippet. Also include programming language in tags. Thanks!
Petr -1 is the step... return is random ...
Sanjay Kamath step may be not int . For ex step=-0.2, then result will be 1, 0.8, 0.6, 0.4, 0.2
Sanjay Kamath Range(start,stop,step). Start is 1, stop is 0. What is step?
What about C++ 😶
Sanjay Kamath for(float i=1;i>0; i+=-0.2)
Petr I would use a while loop here ....
Learn Playing. Play Learning
Send us a message