🚀 Day 3 — Python Journey Today’s focus was on float operations in Python (working with decimal numbers). 📌 What I learned: Float declaration Addition, subtraction, multiplication, division Rounding values using round() Scientific notation Precision handling in floats 💡 What I found interesting: Float values are not always 100% accurate due to precision limitations. Even simple calculations can sometimes give unexpected results. Understanding this early is important, especially for real-world applications like finance or data science. Step by step, trying to build a strong foundation. #Day3 #Python #CodingJourney #LearnInPublic #Consistency
Python Float Operations and Precision Limitations
More Relevant Posts
-
Get started with machine learning using Python and discover how to build intelligent systems that can learn from data and improve their performance over time with this comprehensive guide https://lnkd.in/gDJ28K-Y #MachineLearningWithPython Read the full article https://lnkd.in/gDJ28K-Y
To view or add a comment, sign in
-
-
Back to consistency 💻🚀 Recently, I worked on implementing Pascal’s Triangle in Python — and it turned out to be a great exercise in logic building. While solving this, I learned: 🔹 How each row depends on the previous one 🔹 Better understanding of nested loops 🔹 Using mathematical logic instead of brute force It’s interesting how such a simple-looking pattern involves deeper thinking behind the scenes. Here’s my implementation 👇 Small steps like these are helping me build a strong foundation in Data Structures & Algorithms. #Python #DSA #CodingJourney #LearningInPublic #100DaysOfCode
To view or add a comment, sign in
-
-
🐍 Day2 of Python Learning Today, We explored: -What variables are and why they matter ✅ Numbers → int, float ✅ Text → str ✅ Boolean → True, False ✅ Using print() to display values It’s amazing how these simple concepts form the backbone of everything we build in Python. Every program starts with storing and manipulating data and today was a solid step toward that 💪 #Python #LearnPython #15DaysOfPython #Day2 #CodingJourney #Variables #DataTypes #PythonForBeginners #KeepLearning #GrowTogether
To view or add a comment, sign in
-
-
Python Series — Day 1 Answer + Day 2 Question 🚀 🧠 Day 2 Question What will be the output of this code? a = [1, 2, 3] b = a b.append(4) print(a) Options: A. [1, 2, 3] B. [1, 2, 3, 4] C. Error D. Depends on Python version Drop your answer 👇 (And don’t Google 😄) Answer tomorrow 🚀 #Python #CodingChallenge #DataEngineering #LearningInPublic #Tech
To view or add a comment, sign in
-
-
🚀 Day 3/100 – Python & DSA Journey Today I worked on finding the square root of a number using Python. Instead of using just one approach, I explored multiple ways: 🔹 Using exponent operator (**0.5) 🔹 Using built-in math functions What I learned today: ✔ How mathematical operations translate into code ✔ Difference between basic operations and using libraries ✔ Importance of handling edge cases (like negative numbers) ✔ When to use math vs cmath
To view or add a comment, sign in
-
-
This one NumPy concept saved me hours of coding 👇 👉 Vectorization Earlier, I used loops for almost everything in Python. It worked… but it was slow and messy. Then I discovered this: Instead of processing data element by element, NumPy lets you operate on the entire array at once. Example: Adding 10 to every number Before (Python list): → loop through each element Now (NumPy): → one single line That’s it. This small shift leads to: - faster execution - cleaner code - better performance on large datasets The real change is in thinking: ❌ Think in loops ✅ Think in operations on data That’s when NumPy actually starts making sense. If you’re learning NumPy, focus on this concept early. #NumPy #Python #DataScience #DataEngineering #MachineLearning #CodingJourney #TechLearning
To view or add a comment, sign in
-
-
🚀 Built a simple Day/Night image classifier from scratch using Python. This project is a simple machine learning pipeline built from scratch that classifies images as day or night using handcrafted features and a custom linear SVM. 💾 Source code: https://lnkd.in/dp9kmRmN 💻 Tutorial: https://lnkd.in/d5epPRnt
To view or add a comment, sign in
-
-
🚀 Day 2/30 – Stack & Queue Implementation using Python 🐍📚 Continuing my 30 Days Python Challenge with one of the most important Data Structures fundamentals! Today, I built a Stack & Queue implementation in Python to strengthen my understanding of LIFO and FIFO concepts, along with how data flows in real-world applications 💻 What I focused on today: ✨ Implementing Stack operations: push, pop, peek ✨ Implementing Queue operations: enqueue, dequeue ✨ Strengthening DSA logic and problem-solving skills This challenge is all about consistency, learning in public, and becoming better every single day 🚀 👉 Would love your feedback! Day 3 coming tomorrow… stay tuned 👀 #Python #30DaysChallenge #PythonProjects #DataStructures #Stack #Queue #CodingJourney #LearnPython #BuildInPublic #ProblemSolving
To view or add a comment, sign in
-
Today, I learned how to take user input in Python using the input() function. This allows programs to interact with users and collect data such as name, age, and city. I also learned how to convert input into numbers using int() and float(), which is very important for calculations and data processing. #Day2 #Python #LearningJourney #DataScience #MachineLearning #Consistency
To view or add a comment, sign in
-
#Day2 of my #30dayscodingchallenge What I learned today: • Variables and data types in Python • Taking user input • Basic arithmetic operations Mini Project: I built a simple calculator using Python that can perform addition, subtraction, multiplication, and division. Key takeaway: Every big skill starts with small basics. Understanding fundamentals clearly is the real game changer. I am committed to showing up every single day and improving step by step. If you are also learning or planning to start, let’s connect and grow together #30daysofcode #pythondeveloper #codingjourney #learnpublic #fullstackdeveloper
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