this assignment is in c but the assignment i submitted a few hours ago was in python, i had gotten used to it and now i forget to write printf instead of print.
when you don't understand why your code finally works but it works anyway - that's the fortunate scenario. most of the times you're just struggling to understand why your code DOESN'T work.