Day - 4 ✅ Today was intense. Almost 12 hours of focused learning + hands-on practice. Here’s what I covered and actually implemented while learning 👇 📌 Topics Studied: ✔ Short-hand if-else statements ✔ Enumerate function ✔ Virtual Environment in Python ✔ How import works internally ✔ __name__ == "__main__" concept ✔ OS module ✔ File Handling (File I/O) ✔ read(), readlines() and file methods ✔ Local vs Global variables ✔ Exercise implementation & solutions #Python #Django #WebDevelopment #20DaysOfCoding
More Relevant Posts
-
🗓️Day 200 of 365 Days Hit the 200-day mark today! 🚀 Focused on learning and revising Core Python concepts in depth. Covered: 🔹 Data types and variables 🔹 Control flow (if-else, loops) 🔹 Functions and scope 🔹 Lists, tuples, dictionaries, sets 🔹 Basic problem-solving practice Reaching Day 200 feels motivating. Staying consistent and building strong foundations step by step. Onwards to more learning 🤖💻 #365DaysOfCode #Day200 #Python #CorePython #ProgrammingJourney #Consistency #KeepLearning
To view or add a comment, sign in
-
🚀 Day 11/30 – Defining & Calling Functions in Python Today, I learned how to write cleaner and smarter code using functions. Instead of repeating the same logic multiple times, we can define it once and reuse it whenever needed. That’s powerful. 📌 What I practiced: • Defining a function using def • Calling the function • Passing values (arguments) • Returning results Here’s a simple example I built today: . 💡 Key Takeaway: Functions make programs organized, efficient, and professional. Small concept. Big impact. Day 11 complete ✅ #Python #30DaysChallenge #LearningInPublic #ProgrammingJourney #Consistency Aditya ChaturvediJECRC UniversityYash Raj ChoudharyRaj Gehlot
To view or add a comment, sign in
-
-
🚀 Day 28 Learned collections.deque in Python today 🐍 Practiced append, appendleft, pop, and popleft using a HackerRank challenge. 📌 Key takeaway: Deque allows efficient operations from both ends and is better than lists for queue-based tasks. Consistency over motivation 🌱 #Day28 #Python #Deque #HackerRank #Learning
To view or add a comment, sign in
-
-
Like I mentioned in my last post, I am an inconsistent learner. To break this pattern, I have been into learning python for two days now. No one cares, but a small win for me for sure :) I have done operators of python quite a few times but there are three special operators that always leave me confusing. Back in school, teachers used to tell me “once you write it down, you will have it stored within your memory”. Hence, I am writing them down here, publicly. Modulus (%): gives you remainder as an output Exponentiation (**): helps you square a number Floor division (//): divides and rounds to the nearest integer Maybe it’s never too late to start something afresh. #Python #SkillDevelopment #QuantFinance
To view or add a comment, sign in
-
💡 Do you really understand what *args does in Python? Many developers use ( *args ) without thinking about what’s actually happening under the hood. 🔹 args is just a variable name (short for arguments) 🔹 The real magic is in the * When you write: def func(*args): You're telling Python: “Collect any number of positional arguments and pack them into one variable.” 📦 The result? All passed values are stored inside a tuple. Example: func(1, 2, 3) Internally becomes args = (1, 2, 3) 📌 * in function definition → Packing 📌 * in function call → Unpacking Small detail. Big difference in understanding Python deeply. #Python #Programming #AI #DataAnalysis #SoftwareEngineering #Backend #Learning #Instant
To view or add a comment, sign in
-
🚀 DSA 150 – Day 1 🧩 Leet code 217: Contains Duplicate Today I solved Contains Duplicate using Python. 🔎 Problem Summary: Given an integer array of nums, return True if any value appears at least twice, otherwise return False. 📚 Topics Covered: Arrays HashSet (using Python set) 💡 Key Learning: Instead of using nested loops (O(n²)), I used a HashSet to track seen elements while iterating once through the array. This reduced the time complexity to O(n) with O(n) space. Every small step builds stronger fundamentals. On to Day 1 💪🔥 #DSA #Python #Leet code #Problem solving #Coding journey
To view or add a comment, sign in
-
-
🚀 pandas 3.0 is here! The long-awaited major release brings game-changing improvements: ✨ Dedicated string dtype by default, better type safety & performance ✨ Copy-on-Write (CoW), consistent copy/view behaviour, no more SettingWithCopyWarning ✨ Improved date time handling, microsecond resolution, avoiding out-of-bounds errors Read on for more: https://lnkd.in/eUzg9mEH #Pandas #Python #DataScience #Pandas3
To view or add a comment, sign in
-
-
Python Clarity Series – Episode 3 Topic: input() confusion (string vs int) 🤯 Why does this code not work? x = input("Enter a number: ") print(x + 5) Many students get an error here. Reason? 👇 👉 input() always takes value as STRING So: "x" + 5 ❌ (Error) int(x) + 5 ✅ (Correct) 💡 Fix: x = int(input("Enter a number: ")) This small concept is tested frequently in exams. Students—did this ever confuse you? #PythonLearning #CodingBasics #StudentConfusion
To view or add a comment, sign in
-
-
Python Clarity Series – Episode 17 Topic: len() vs count() 📌 len() vs count() — students mix these often. Example list: numbers = [1, 2, 2, 3, 4] 👉 len(numbers) Output → 5 Counts total elements 👉 numbers.count(2) Output → 2 Counts occurrence of a specific value 💡 Easy way to remember: len() → length of container count() → frequency of value Example: print(len(numbers)) print(numbers.count(2)) Understanding the difference avoids wrong answers in MCQs. Which one confused you first time? #PythonConcepts #CodingBasics #ExamPreparation
To view or add a comment, sign in
-
-
Solved the classic Two Sum problem today using Python. Instead of using the brute-force approach (O(n²)), I optimized it using a HashMap and reduced the time complexity to O(n). 🧠 Key Learnings: • Think beyond brute force * Use HashMaps for constant-time lookup * Strong fundamentals come from consistent practice Sharing my implementation on GitHub. #Python #DSA #ProblemSolving #AI #MachineLearning #Coding https://lnkd.in/gWGSyu9V
To view or add a comment, sign in
Explore related topics
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development