🚀 Day 3 of My Python Learning Journey Today I learned about Operators in Python 🐍 Operators are used to perform operations on variables and values. ✅ Types of Python Operators I learned: 🔹 Arithmetic Operators → "+ - * / % ** //" 🔹 Comparison Operators → "== != > < >= <=" 🔹 Assignment Operators → "= += -= *=" 🔹 Logical Operators → "and or not" 📌 Example: a = 10 b = 5 print(a + b) # Addition print(a > b) # Comparison print(a and b) # Logical 💡 Understanding operators helps in writing logical and efficient programs. Step by step improving my Python fundamentals 🚀 #Python #PythonLearning #CodingJourney #10DaysOfCode #Programming #DeveloperJourney #LearnInPublic
Pushkar Kumar’s Post
More Relevant Posts
-
🚀Day 4/30 – Python Learning Challenge 🐍 Today I explored Operators in Python — the symbols that allow us to perform operations on variables and values. Python provides several types of operators that make coding more powerful and efficient. 🔹 Arithmetic Operators – Used for mathematical calculations + - * / % // ** 🔹 Comparison Operators – Used to compare two values == != > < >= <= 🔹 Logical Operators – Used to combine conditional statements and or not 🔹 Assignment Operators – Used to assign values to variables = += -= *= /= 📌 Key Learning: Operators are the backbone of writing logic in Python. Mastering them helps in building conditions, calculations, and decision-making in programs. Learning something new every day and staying consistent with my 30-Day Python Challenge. 🚀 #Python #PythonLearning #CodingJourney #LearnInPublic #DataScience #Programming #100DaysOfCode
To view or add a comment, sign in
-
-
📘 Learning Update – Python Fundamentals Today I continued my Python practice and explored some important concepts: 🔹 List, Set & Dictionary Comprehensions Practiced writing clean and efficient code using comprehensions Improved understanding of concise data handling in Python 🔹 Sets & Frozen Sets Learned about uniqueness in sets Explored immutability with frozenset and where it can be useful 🔹 Argparse Module Learned how to handle command-line arguments in Python Built simple scripts that accept user input from the terminal Every concept I practice brings me one step closer to building a strong foundation for AI and Machine Learning. 🔗 GitHub Repository: https://lnkd.in/dH9c5ExV #Python #LearningJourney #Consistency #AIJourney #Coding #StudentLife
To view or add a comment, sign in
-
🚀 Python Practice: Armstrong Number Program Today I practiced a Python program to check whether a number is an Armstrong Number. An Armstrong number is a number in which the sum of the cubes of its digits is equal to the number itself. For example: 153 = 1³ + 5³ + 3³ = 153 In this program, I used loops, arithmetic operators, and conditional statements to extract each digit of the number, calculate the cube, and verify whether the result matches the original number. 🔹 Concepts Used: • Python while loop • Modulus operator % to extract digits • Floor division // • Conditional statements (if-else) Practicing such logic-building problems helps strengthen problem-solving skills and Python fundamentals, which are essential for coding interviews and real-world programming. #Python #PythonProgramming #CodingPractice #DataAnalytics #Programming #LearningPython
To view or add a comment, sign in
-
-
File I/O and Pickle in Python Practiced working with file operations such as opening, reading, writing, and understanding different file modes. Also learned how Pickle helps in serializing and deserializing Python objects, allowing programs to store complex data in files and retrieve it later. Key focus areas: • File handling operations in Python • File modes (r, w, a, rb, wb) • Object serialization using pickle.dump() • Loading objects using pickle.load() #Python #FileHandling #Pickle #Programming #Learning #CodingJourney
To view or add a comment, sign in
-
-
Python practice 🚀 Day 2 of My Python Learning Journey: Today I explored Generator Expressions in Python and how they differ from list comprehensions. Example: numbers = [1,2,3,4] g = (x*x for x in numbers) print(list(g)) print(list(g)) Output: [1, 4, 9, 16] Output: [] Generator expressions create values one at a time unlike list unless you explicitly typecast it as list while printing, making them memory efficient. once a generator is fully consumed, it becomes exhausted, which is why the second print returns an empty list. 💡 Insight here is that generators are very useful when working with large datasets or streaming data, where storing everything in memory is not practical. #Python #Learning #DataScience
To view or add a comment, sign in
-
Built my first Python mini-project! Over the past few days, I’ve been consistently learning Python fundamentals and applying them through small projects. I recently built a Number Guessing Game where the program generates a random number and the user tries to guess it within limited attempts. While building it, I practiced concepts like: • Functions • Conditional logic • Loops • Exception handling (try–except) • Improving program robustness I also created an improved version that handles invalid input and allows the user to play again. This is just the beginning of my journey as I continue learning Python, problem solving, and eventually AI/ML. You can check out the project here: [https://lnkd.in/gx4NtndT] Looking forward to building more projects and improving step by step. #Python #Programming #LearningInPublic
To view or add a comment, sign in
-
Day 10 of my 90-Day Python Learning Challenge 🐍 Today I learned how to take user input in Python and how type casting works. This is an important concept because it allows programs to interact with users and convert data into the required type. What I learned today: • How to take input using the "input()" function • Understanding that "input()" returns data as a string by default • Converting data types using type casting (int(), float(), str()) • Writing small programs that take input from users and perform operations Here is a small example I practiced: name = input("Enter your name: ") age = int(input("Enter your age: ")) print("Hello", name) print("Next year your age will be:", age + 1) Learning how to take input from users makes programs more interactive and practical. Step by step, I’m building stronger Python fundamentals. Day 10/90 — Consistency is the key to growth 🚀 #Python #90DaysOfCode #LearningInPublic #CodingJourney #Programming
To view or add a comment, sign in
-
-
🚀 Python Learning Journey – Day 24 Today, I learned about List Comprehension in Python, a concise way to create lists. Here’s what I practiced: ✅ Basic syntax of list comprehension ✅ Creating lists using for loop in a single line ✅ Using conditions inside list comprehension ✅ Writing cleaner and shorter code List comprehension helped me write more efficient and readable code compared to traditional loops. Step by step, I’m improving my Python skills 💪 #Python #LearningJourney #Beginner #ListComprehension #Day24 #Coding #KeepLearning
To view or add a comment, sign in
-
-
🚀 Learning Python – List Operations Made Simple! Today, I practiced a basic yet important concept in Python — list concatenation. 🔹 I combined two lists using the + operator: alist = ['praveen','ajay','san','kiran','chandru','fun','joy','rrrr'] blist = ['run','jun','jam'] clist = alist + blist print(clist) ✅ Output: A single list containing elements from both lists. 💡 Key Takeaways: The + operator helps merge lists easily It creates a new list without modifying the original ones Order of elements is maintained 📌 Small steps like these help build a strong foundation in Python programming. #Python #Learning #DevOps #Programming #CodingJourney #Beginners #Automation
To view or add a comment, sign in
-
Day 20 of #60DaysOfMiniProjects Today I built a File System Monitor using Python. What this project does: • Monitors a selected folder in real-time • Detects file creation, modification, and deletion • Logs every activity with date and time • Displays live updates in the terminal • Tracks changes even inside subfolders Concepts I worked with: • watchdog library for file system monitoring • time module for continuous execution • datetime module for timestamp logging • File handling for storing activity logs • Event-driven programming using handlers This project helped me understand how real-time monitoring systems work and how Python can be used for tracking and managing file activities efficiently. Learning step by step. Building consistently. Improving every day. #Python #MiniProjects #BuildInPublic #CodingJourney #Automation #PythonProjects #DeveloperGrowth
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
Helpful share