🤭 Python Learning Update — Arithmetic Operators Today I practiced a simple Python exercise to understand basic arithmetic operations. Think of it like teaching a small calculator what to do with two numbers. In the program I used two numbers: a = 10 b = 3 Then I explored different operations Python can perform. 📚 What this small program teaches: • Addition → "a + b" • Subtraction → "a - b" • Multiplication → "a * b" • Division → "a / b" • Floor Division → "a // b" (gives whole number only) • Modulus → "a % b" (gives the remainder) • Power → "a ** b" (raises a number to a power) 🧠 Simple way to think about it: If Python were a 5-year-old learning math, this program is teaching it how to: ➕ add ➖ subtract ✖ multiply ➗ divide 🔁 find remainder ⬆ calculate powers Small steps like this help build strong fundamentals in programming. #Python #LearningPython #CodingJourney #ProgrammingBasics #BeginnerProgrammer
Python Arithmetic Operations: Basic Math Exercises
More Relevant Posts
-
🚀 Master Python with This Complete Cheat Sheet! 🐍 After spending months learning, practicing, and teaching Python, I’ve compiled a structured Python Cheat Sheet that covers everything from basics to advanced concepts in one place. 📌 What’s inside? ✔️ Data Types & Operators ✔️ Conditional Statements ✔️ Strings & Collections ✔️ Loops & Functions ✔️ OOPS Concepts ✔️ Exception Handling & Modules This cheat sheet is designed to be: ✅ Beginner-friendly ✅ Quick to revise ✅ Useful for interviews & daily coding 💡 Whether you're starting Python or revising before an interview, this will save you hours. 🔥 Key Insight: Consistency + Practical Implementation = Real Learning 📥 I’ve also converted this into a clean PDF for easy access. If you find this useful, feel free to like, share, or comment — it helps reach more learners 🚀 #Python #Coding #Programming #Developer #SoftwareEngineering #LearnPython #TechWithChay #AI #DataScience #100DaysOfCode
To view or add a comment, sign in
-
🐍 Day 9 of My 30-Day Python Learning Challenge Today I learned about List Comprehension — one of the most powerful and Pythonic features. 📌 What is List Comprehension? It provides a shorter and cleaner way to create lists. 📌 Traditional Way squares = [] for i in range(5): squares.append(i*i) 📌 Pythonic Way (List Comprehension) squares = [i*i for i in range(5)] print(squares) Output: [0, 1, 4, 9, 16] 💡 Why use it? • Less code • More readable • Faster execution 📊 Quick Question What will be the output? nums = [1,2,3,4] result = [x*2 for x in nums if x%2==0] print(result) Answer tomorrow 👇 #Python #CodingJourney #Programming #LearningInPublic #SoftwareDeveloper
To view or add a comment, sign in
-
Python Learning Journey – Day 5 🚀 Loops are where logic starts to feel powerful. Today, I focused on applying for and while loops to solve real problems instead of just learning syntax. Here’s what I built: • Calculated sum of squares (1 to 5) • Created a countdown program using while loop • Printed multiplication tables using nested loops • Found sum of even numbers in a range • Calculated sum from 1 to n • Iterated through lists efficiently • Printed custom ranges (-10 to -1) • Generated cubes of numbers Each problem improved my understanding of iteration, control flow, and writing cleaner logic. Consistency matters more than speed. One step every day. Big thanks to VASU KUMAR PALANI and PythonLife for the continuous learning support. #Python #CodingJourney #LearnInPublic #PythonLoops #Programming #Consistency #TechSkills
To view or add a comment, sign in
-
-
Python Learning Journey – 🚀 Today’s focus was on control flow statements that make loops smarter and more efficient. Instead of just running loops, I practised how to control their behaviour using break, continue, and pass. Here’s what I worked on: • Used break to stop execution when a condition is met (sum exceeding a limit) • Used continue to skip specific iterations (printing only odd numbers) • Used 'pass' as a placeholder in conditional statements • Combine break and continue in a real scenario (processing a word list with conditions) These concepts helped me understand how to write more optimised and controlled logic in Python programs. Every day, getting better at thinking logically and writing cleaner code. Big thanks to VASU KUMAR PALANI and PythonLife for the continuous guidance and support. #Python #CodingJourney #LearnInPublic #PythonBasics #Programming #Consistency #TechSkills
To view or add a comment, sign in
-
-
🚀 Python Basics to Advanced Learning Series – Day 6 Today’s learning was all about working with strings in Python. It was a very interesting session because I got to understand how we can access, modify, and format text in different ways. What I learned today: • Understanding string indexing to access characters using positions • Learning slicing operation to extract parts of a string using "[start:end:step]" • Practicing different slicing variations, including reverse and step slicing • Solving problems based on string comparison and manipulation • Learning useful string methods like "strip()", "split()", "join()", "replace()", "upper()", "lower()", "title()" • Understanding how to clean and modify strings effectively • Learning string formatting techniques using "f-strings" and "format()" • Writing programs like reversing a string and checking equality of two strings This session helped me understand how important strings are in real-world programming. Practicing problems made the concepts much clearer and improved my confidence. I’m learning all these concepts as part of my Python Basics to Advanced Learning Series at Global Quest Technologies, and I can clearly see my improvement day by day. Excited to continue this journey and learn more 🚀 #Python #PythonProgramming #LearningJourney #Coding #Strings #ProblemSolving #SoftwareDevelopment #TechLearning #Developers #globalquesttechnologies #GQT
To view or add a comment, sign in
-
-
📘 Python Learning – Lists at a Glance Today I focused on understanding one of the most important data structures in Python — Lists. Here’s a quick snapshot of what I learned: 🔹 What is a List? A list is a collection of items that is ordered, changeable, and allows duplicates. 🔹 Creating a List fruits = ["apple", "banana", "cherry"] 🔹 Accessing Elements fruits[0] # apple fruits[-1] # cherry 🔹 Common List Methods append() → Add item insert() → Add at specific position remove() → Remove item pop() → Remove by index index() → Find position 🔹 List Slicing fruits[0:2] # ['apple', 'banana'] 🔹 List Comprehension (Quick & Powerful) squares = [x**2 for x in range(5)] 💡 Lists are extremely flexible and form the foundation for many data operations in Python. Mastering them is a big step toward becoming confident in programming and data analysis. Muhammad Rafay Shaikh#Python #LearningJourney #DataAnalytics #Programming #YouExcel #WomenInTech #CareerGrowth
To view or add a comment, sign in
-
-
Today’s Learning 🚀 I’m excited to share that today I learned Python Reading CSV Files as part of my learning journey through the @Skill Course under the guidance of @Satish Dhawale Sir. To support fellow learners, I’ve also created concise notes on these topics, and I’m happy to share them with my LinkedIn community. If you’re just starting your Python journey or revising the fundamentals, these notes can be a helpful resource for you. Let’s continue to grow together in the world of Data Analysis and Python Programming! 💬 Comment “Notes” if you’d like me to share them. #DataAnalysis #Python #TypeCasting #LearningJourney #PythonBasics #PytonInExcel.
To view or add a comment, sign in
-
Python Learning Journey – Day 7 🚀 Today’s focus was on working with lists and improving problem-solving using Python. I practised different list operations and real-world scenarios to better understand how data can be handled efficiently. Here’s what I worked on: • Reversing a list • Finding common elements between two lists • Extracting unique elements • Removing duplicates while preserving order • List concatenation and repetition • Removing elements based on index conditions • Inserting elements into a list • List comprehensions (squares, even numbers, word lengths) This session helped me get more comfortable with list manipulation and writing cleaner, more efficient Python code using comprehensions. Step by step, improving logic and coding confidence. Big thanks to VASU KUMAR PALANI and PythonLife for the continuous guidance and support. #Python #CodingJourney #LearnInPublic #PythonLists #Programming #100DaysOfCode #Consistency #TechSkills
To view or add a comment, sign in
-
-
Continuing My Python Journey: Working with Lists 🙌 Today’s learning was all about Python Lists, and it was a really insightful session! Under the guidance of Dr. Ankush Joshi, Isha Rajput, I explored how lists work as a mutable data type and how powerful they can be in programming. I learned various list operations and methods: ● Insertion operations – insert(), append(), extend() ● Deletion operations – clear(), remove(), pop(), del ● Slicing and iterating using for loops ● Creating matrices using nested lists Some key takeaways: ● append() adds elements at the end, while insert() places them at a specific index ● extend() helps combine lists ● pop() removes the last element by default ● del can delete elements or even the entire list 👌 Best part: Practice and clear explanations made the concepts easy to understand and apply. Grateful for such interactive learning and guidance Special thanks to: Dr. Gesu Thakur Dr. Ankush Joshi Isha Rajput Dr.Chinnaiyan Ramasubramanian #Python #Programming #CodingJourney #BCA #Learning #PythonBasics
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
Eswar Reddy BODICHERLA How to convert hand writing into this cleaned form