Day 2 of #60DaysOfMiniProjects Built a simple CLI Calculator using Python Took two numbers as input and performed: • Addition • Subtraction • Multiplication • Division Focused on strengthening Python fundamentals like: User input handling Arithmetic operations Clean output formatting Small logic. Strong foundation. Consistency > Motivation #Python #CLI #MiniProjects #CodingJourney #BuildInPublic #CSE
More Relevant Posts
-
Day 65 – Counting Words in a File Using Python: Day 65 focused on counting the number of words in a text file using Python. I practiced reading file content, splitting the text into words, and calculating the total count using both the traditional file handling method and the with statement. This exercise strengthened my understanding of file reading, string operations, and writing simple logic to analyze text data efficiently. GitHub Code: https://lnkd.in/gWxV_Uxb #Day65 #100DaysOfCode #Python #FileHandling #LearningPython #CodingJourney #DailyCoding #Consistency
To view or add a comment, sign in
-
-
LeetCode #104 – Maximum Depth of Binary Tree | Python Implementation I implemented a recursive DFS approach that calculates tree depth by taking the maximum of left and right subtree depths plus one for the current node. Core Insight: Depth calculation decomposes naturally into subproblems. Each node's depth is determined by its deepest child, making recursion the cleanest solution with minimal code. Time: O(n) | Space: O(h) where h = tree height (recursion stack) #LeetCode #DataStructures #Python #BinaryTree #Recursion #DFS #CodingInterview #SoftwareEngineering
To view or add a comment, sign in
-
-
Python Tip of the Day 🐍 Working with strings isn’t just about storing text — it’s about understanding how to search and analyze it efficiently. Methods like count(), index(), rindex(), and find() help you locate and evaluate data with precision. Day 39 of building Python basics. #Python #Programming ##DataAnalytics #SoftwareDevelopment #LearnPython
To view or add a comment, sign in
-
-
Day 64 – Counting Lines in a File using Python: Day 64 focused on counting the number of lines in a file using Python. I practiced reading file contents, using readlines() to store lines in a list, and calculating the total using len(). This exercise strengthened my understanding of file reading techniques, list handling, and efficient resource management using both the traditional method and the with statement. GitHub Code: https://lnkd.in/g3nfR4_j #Day64 #100DaysOfCode #Python #FileHandling #LearningPython #CodingJourney #DailyCoding #Consistency
To view or add a comment, sign in
-
-
📅 Day 1 – Learning Python Strings 🐍 Today I started learning about strings in Python. 🧠 What is a String? A string is a sequence of characters used to store text data (e.g., "welcome"). 📚 What I learned: • Strings are immutable (cannot be changed after creation) • We can access characters using indexing • We can reverse a string using slicing 💻 I also tried a small program to reverse a string (added in image 👇) 🚀 Learning step by step. #Python #LearningJourney #100DaysOfCode #BeginnerDeveloper
To view or add a comment, sign in
-
-
Poll Insight: Which data type does not allow duplicate values? The correct answer is Set ✅ A Set stores only unique elements, meaning duplicate values are automatically removed. That’s why sets are useful when you want to keep only distinct values in Python. 👉 Example use cases include removing duplicates from a list or storing unique items. #Python #LearnPython #CodingQuiz #ProgrammingBasics
To view or add a comment, sign in
-
Day 67 – Finding the Longest Word in a File Using Python: Day 67 was about finding the longest word in a text file using Python. I read the file content, split the text into words, and used the max() function with the key=len argument to identify the longest word. I practiced both normal file handling and the with statement method to improve my understanding of file operations and string processing in Python. GitHub Code: https://lnkd.in/gfwy38D7 #Day67 #100DaysOfCode #Python #FileHandling #CodingJourney #Consistency
To view or add a comment, sign in
-
-
Day 66 – Counting Characters in a File Using Python: Day 66 focused on counting the number of characters in a text file using Python. I practiced reading the file content and calculating the total characters using the len() function. The exercise was implemented using both the traditional file handling method and the with statement, helping me better understand string length calculation and safe file operations in Python. GitHub Code: https://lnkd.in/gPgaTWKs #Day66 #100DaysOfCode #Python #FileHandling #LearningPython #CodingJourney #DailyCoding #Consistency
To view or add a comment, sign in
-
-
🚀 Lambda in Python – The Easiest Explanation Ever! 🎥 Full Detailed Video: 👉 https://lnkd.in/g_kw96Vx Comment “LAMBDA” if you want interview practice questions 👇 #Python #Lambda #Programming #LearnPython #PythonInterview #CloudBIAcademy
To view or add a comment, sign in
-
LeetCode #98 – Validate Binary Search Tree | Python Implementation I implemented a recursive DFS approach with boundary tracking to validate BST properties. Core Insight: BST validation requires tracking allowable ranges, not just comparing immediate children. Each recursive call narrows the valid interval, ensuring global ordering throughout the entire subtree. Time: O(n) | Space: O(h) where h = tree height (recursion stack) #LeetCode #DataStructures #Python #BinarySearchTree #Recursion #DFS #CodingInterview #SoftwareEngineering
To view or add a comment, sign in
-
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