<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sarthak Gholve</title>
    <description>The latest articles on DEV Community by Sarthak Gholve (@sarthakgholve13-py).</description>
    <link>https://dev.to/sarthakgholve13-py</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4090676%2Fa1a875f9-f5fa-41c4-b668-993339e4d992.png</url>
      <title>DEV Community: Sarthak Gholve</title>
      <link>https://dev.to/sarthakgholve13-py</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sarthakgholve13-py"/>
    <language>en</language>
    <item>
      <title>Title: Guess Master – The Ultimate Number Guessing Challenge</title>
      <dc:creator>Sarthak Gholve</dc:creator>
      <pubDate>Sun, 23 Aug 2026 10:15:09 +0000</pubDate>
      <link>https://dev.to/sarthakgholve13-py/title-guess-master-the-ultimate-number-guessing-challenge-4n9h</link>
      <guid>https://dev.to/sarthakgholve13-py/title-guess-master-the-ultimate-number-guessing-challenge-4n9h</guid>
      <description>&lt;p&gt;🎯 Guess Master is a fun and interactive Python number-guessing game where the computer secretly chooses a number between 1 and 100. Try to find the hidden number using hints like “Too High!” or “Too Low!”. Your attempts are counted, and you can quit anytime. Can you find the number in the fewest guesses? 🐍🔥&lt;br&gt;
here's the code:&lt;/p&gt;

&lt;p&gt;import random&lt;/p&gt;

&lt;p&gt;def start_game():&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;secret_number = random.randint(1, 100)&lt;br&gt;
attempts = 0

&lt;p&gt;print("Welcome to the Number Guessing Game!")&lt;br&gt;
print("I am thinking of a number between 1 and 100.")&lt;/p&gt;

&lt;p&gt;while True:&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;user_input = input("Take a guess (or type 'quit' to exit): ").strip()


if user_input.lower() == 'quit':
    print(f"Thanks for playing! The number was {secret_number}.")
    break


if not user_input.isdigit():
    print("Please enter a valid whole number.")
    continue


guess = int(user_input)
attempts += 1


if guess &amp;amp;lt; secret_number:
    print("Too low! Try again.")
elif guess &amp;amp;gt; secret_number:
    print("Too high! Try again.")
else:
    print(f"🎉 Correct! You found the number in {attempts} attempts!")
    break
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  Run the game&lt;br&gt;
&lt;/h1&gt;

&lt;p&gt;if &lt;strong&gt;name&lt;/strong&gt; == "&lt;strong&gt;main&lt;/strong&gt;":&lt;br&gt;
    start_game()&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>coding</category>
      <category>python</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>OTP-Awareness-Program</title>
      <dc:creator>Sarthak Gholve</dc:creator>
      <pubDate>Sun, 23 Aug 2026 10:02:46 +0000</pubDate>
      <link>https://dev.to/sarthakgholve13-py/otp-awareness-program-e5</link>
      <guid>https://dev.to/sarthakgholve13-py/otp-awareness-program-e5</guid>
      <description>&lt;p&gt;A fun Python project designed to demonstrate how scammers may trick people into sharing OTPs. It uses user input, random OTP generation, sounds, delays, and conditional statements to create an interactive awareness experience. The main message is simple: NEVER share your OTP with unknown people. 🔐💻&lt;/p&gt;

&lt;p&gt;print(" HI THIS IS SARS bankings")&lt;br&gt;
name=input(" what is your name ?  ")&lt;br&gt;
print("oh nice name,",name)&lt;br&gt;
print("your account has been freezed because of bug in bank computers.")&lt;br&gt;
p=input("if you want to fix bank account pls give ans , yes or no:  ")&lt;br&gt;
if p == "no":&lt;br&gt;
    print("you are genius , you didnt got in my trap")&lt;br&gt;
else:&lt;br&gt;
    print("Ok, Let's proceed")&lt;br&gt;
m=int(input("Give your mobile no.:  "))&lt;br&gt;
print("The otp has been sent to mobile no. :",m)&lt;br&gt;
import time&lt;br&gt;
print("wait for 5 seconds")&lt;br&gt;
time.sleep(5)&lt;br&gt;
import random&lt;br&gt;
number = random.randint(10000, 99999)&lt;br&gt;
print(number)&lt;br&gt;
otp=int(input("Send the provided otp:  "))&lt;br&gt;
if otp == number :&lt;br&gt;
        import winsound&lt;br&gt;
        winsound.Beep(1000, 500)&lt;br&gt;
        print(" you are hacked !")&lt;br&gt;
        time.sleep(3)&lt;br&gt;
        print("NEVER GIVE OTP TO UNKNOWN PERSON")&lt;br&gt;
        time.sleep(2)&lt;br&gt;
        print("old people and young adults are mainly targeted")&lt;br&gt;
        print("this was not just joke but serious knowledge for everyone")&lt;br&gt;
        print("SO BE AWARE !")&lt;br&gt;
else :&lt;br&gt;
    print("INCORRECT OTP")&lt;br&gt;
winsound.Beep(800, 1100)&lt;/p&gt;

&lt;p&gt;print("------------------------------")&lt;br&gt;
time.sleep(6)&lt;br&gt;
print("Directed by :")&lt;br&gt;
time.sleep(2)&lt;br&gt;
print("Sarthak Gholve")&lt;br&gt;
print(",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,")&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>cybersecurity</category>
      <category>python</category>
      <category>security</category>
    </item>
  </channel>
</rss>
