Posts

Python Games Code

 1. Age Calculator: year = int(input("Enter your birth year: ")) age = 2025 - year print("🎂 Your age is:", age) 2. Even Or Odd Game: num = int(input("Enter a number: ")) if num % 2 == 0:     print("✅ It's Even") else:     print("✅ It's Odd") 3. Quiz Game: questions = {     "What is the capital of India? ": "delhi",     "2 + 2 = ? ": "4",     "Which language is this game written in? ": "python" } score = 0 for q, a in questions.items():     ans = input(q).lower()     if ans == a:         print("✅ Correct!")         score += 1     else:         print("❌ Wrong!") print(f"🎯 Final Score: {score}/{len(questions)}") 4. Typing Speed Test: import time print("⌨️ Typing Speed Test ⌨️") text = "Python is fun to learn and play games with" print("Type this sentence:\n", text) input("Press Enter when ready... ") s...

Ch- 1 Chemical Reaction and Equations

           "SCIENCE Notes" Introduction to Chemical Reactions: •Chemical reactions involve the formation of one or more substances into new substances with new properties. •Chemical Equations: Chemical reactions are represented using chemical equations, where reactants are on the left side and products on the right. •The law of conservation of mass states that the total mass of reactants equals the total mass of products. Characteristics Of Chemical Reaction:- 1. Change in State 2. Change in Temperature 3. Change in Colour 4. Evolution Of Gas 5. Formation of Precipitate (Insoluble Salt) Types of Chemical Reactions: Combination Reactions : Two or more substances combine to form a single product. e.g., C + O2 = CO2 Decomposition Reactions: A single reactant broken down in two or more product. e.g., 2FeSO⁴ =  Fe²O³ + SO² + SO³ -- By Action of Heat: CaCO³ = CaO + CO² -- By Action of Electricity: 2H²O = 2H² + O² -- By Action of Light: 2AgCl = 2Ag + Cl² Dis...