Guess game

NivedithaNiveditha
1 min read

I was procrastinating for a few days 😪 so when I came back, it has been a little confusing.

I made a Guess game with loop.

number = 3 guess_count = 0 guess_limit = 3 while guess_count < guess_limit: a = int(input("Guess ")) guess_count += 1 if a == number: print("You won!!") break else: print("Sorry, you loss...")

This is the code I wrote. I know, it is too basic but I understood on thing that is procrastination is bad👎 It will break your flow and make simple things hard for you.

If there is someone out there, like me, please don't procrastinate. 🙏

Thanks for reading 📚. And if you have any advice for me, please say so, I could use it. 😀

0
Subscribe to my newsletter

Read articles from Niveditha directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Niveditha
Niveditha

I’m a teenager from India embarking on my coding journey, learning something new every day. As a beginner, I’m also deeply passionate about psychology. This blog is my space to document my small steps and big questions as I navigate through the world of coding. If you’re just starting like me, let’s learn together! And if you’re more experienced, I’d love to hear your insights and advice. Join me on this adventure!