From Confusion to Clarity
From the previous project, I gained several valuable insights:
In the logo part, I was confused about why 'r' was used. Now I understand that in the logo (guess the number), I used backslashes (\). The 'r' converts those slashes to string characters rather than escaping characters.
In the function part, At first, I thought using the print function was a simple way to get the output. But it's not. In this game, the user keeps guessing the number until they get it right, so the return function is used instead.
The conclusion I realized is that you don't gain much by just studying programming languages or book references. You must deploy your own projects, make mistakes, realize those mistakes, and then correct them. Just try to learn from mistakes.
Subscribe to my newsletter
Read articles from Arunmathavan K directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by