CHAPTER 20
Projects और Next Steps
Real Python projects बनाएं और आगे का roadmap
Advertisement
Number Guessing Game
यह एक complete project है जो अब तक सीखी सब चीजें use करता है।
python
import random def guessing_game(): print("="*35) print("🎮 Number Guessing Game!") print("="*35) secret = random.randint(1, 100) max_tries = 7 attempts = 0 while attempts < max_tries: try: guess = int(input(f"Guess ({max_tries-attempts} बचे): ")) except ValueError: print("Number डालें!"); continue attempts += 1 if guess == secret: print(f"\n🎉 जीत! {attempts} tries में।") break hint = "📈 बड़ा" if guess < secret else "📉 छोटा" print(f"❌ {hint} है!") else: print(f"\n😢 हार! Answer था: {secret}") guessing_game()
OUTPUT
🎮 Number Guessing Game!Advertisement
Python Roadmap
Python सीखने के बाद आगे क्या करें?
python
# Python के बाद के options: # 1. Data Science / Analytics # NumPy → Pandas → Matplotlib → Scikit-learn # 2. Web Development # HTML/CSS basics → Flask → Django → REST API # 3. AI / Machine Learning # Statistics → ML Basics → TensorFlow/PyTorch # 4. Automation # Selenium → PyAutoGUI → Schedule → Scripting # 5. DevOps / Cloud # Python scripting → AWS/GCP → Docker print("🎉 Python Complete Course खत्म!") print("💪 अब Projects बनाना शुरू करें!") print("🚀 GitHub पर code upload करें!")
OUTPUT
🎉 Python Complete Course खत्म!🎯 QUICK QUIZ — Chapter 20
Projects बनाएं
Advertisement