Skip to main content

Posts

Python-Day 3-Understanding Dynamic Typing & Mutable vs Immutable Types in Python

 Hey, Here is the Day 3 updates of my Python learning journey! Today, I explored two essential concepts that make Python a flexible and powerful programming language:  Dynamic Typing and Mutable vs Immutable Types .  Let's dive deep into these topics! Understanding Dynamic Typing in Python Python is a dynamically typed language, meaning that variable types are determined at runtime . Unlike statically typed languages such as Java or C++, where you need to declare the type of a variable explicitly, Python allows you to assign any value to a variable without specifying its type. Example of Dynamic Typing: x = 10 # x is an integer print(type(x)) # Output: <class 'int'> x = "Hello" # x is now a string print(type(x)) # Output: <class 'str'> x = [1, 2, 3] # x is now a list print(type(x)) # Output: <class 'list'> Key Takeaways: No need to declare variable types in Python. The same variable can hold different types of data ...
Recent posts

Python-Day 2–Diving Deeper into Python: Variables, Operations, and More!

  Hey! I’m back with my Day 2 update on my Python learning journey. Today was all about getting hands-on with variables, data types, and basic operations. I spent decent 3 hours and to write blog additional 1 hour to summarize my learning. bit hectic however its being weekend i thought of spend more time today on basics to get along with programming so that i can invest less time during weekdays. It feels so satisfying to be writing more complex code already, even though I’m still just scratching the surface! Here’s a quick rundown of what I’ve learned: Firstly, Downloaded and configured the VSCode on my windows Laptop. and executed Hello World command. then moved ahead with learning basic Syntax and Structure ( print(), comments, indentation) Variables & Data Types I learned how to store information in variables and use different data types like strings, integers, floats, and booleans. For example, I learned how to assign values like name = "Sri Ram" and age = ...

Python - Day 1 – Starting My Python Learning Journey!

Hello 👋 Today marks the first day of my Python learning journey, and I’m excited to share my progress with you. It’s a fresh start, and I’ve already learned some cool basics that have me looking forward to more! Here’s a quick breakdown of what I’ve learned today: What is Python? I got familiar with Python as a high-level, interpreted programming language. It’s known for being easy to learn, clean, and readable, which is perfect for beginners like me! I learned that Python can be used for web development, data analysis, AI, ML, automation, and much more. The possibilities are endless! Hello World – My First Program The first thing I did was write my very first Python program: the classic "Hello World". It was such a simple but satisfying moment! Here's what it looked like: print("Hello, World!") It was so exciting to see my code run and display something on the screen. It might seem like a tiny step, but it felt like a big win to me! Time Spent : ...

"Welcome to My AI, Python, and ML Learning Journey!"

Hello, and welcome to my blog! 🎉 This is where I’ll be sharing my personal journey as I dive into the world of Python, Artificial Intelligence, and Machine Learning. Whether you’re a beginner like me, an experienced developer, or just curious about the exciting possibilities in these fields, I hope you’ll find something useful and inspiring here! I started this blog because I’ve always been fascinated by technology and the endless potential of AI. As I take my first steps into the world of programming and machine learning, I wanted to document my learning process, the challenges I encounter, and the successes I celebrate along the way. In this space, I’ll be exploring: Python: From the basics to more advanced topics, I’ll be diving deep into the Python programming language and how it connects to data science, AI, and ML. AI & ML: I’ll be tackling machine learning algorithms, exploring different models, and applying them to real-world problems. Projects and Tutorials: As I work on ...