C
C#5mo ago
Kapa._

✅ Implementing a step counter

I only want the last step counter to print out however im not sure how to do that
No description
No description
3 Replies
Angius
Angius5mo ago
Use the debugger, maybe the loop legitimately does run only once
Kapa._
Kapa._5mo ago
i mean it must run more than once if it prints out the message multiple times if you look at the last Steps Taken it shows 128
Angius
Angius5mo ago
Yeah, one time you call this method the loop inside does run 128 times But all the other times you do that, it runs only once