Difference between While and If condition

uhmm wait nvm

I had a brain fart and thought that the ‘if’ and ‘do while’ conditions worked differently but i realize they work the same now

Are you sure?
‘if’ is a conditional block. executes once, if condition is true.
‘do while’ is a loop. executes while condition is true.

Privacy & Terms