Understanding the print() Function. Continuing my journey into Python for Data Analytics, I have been learning how Python displays output using the print() function. - print() is used to show data in the terminal. - A simple Hello World program can be written in just one line. - Learned how to print strings using single or double quotes. - Also explored how multiple values can be printed together by separating them with commas - Python automatically adds spaces between them. These basics are essential for debugging, checking outputs, and understanding how data flows through a program. #Python #PrintFunction #DataAnalyticsJourney #LearningInPublic #Upskilling
Pooja Sahu’s Post
More Relevant Posts
-
Today I practiced For Loops and Nested For Loops in Python 🐍 A for loop is used to repeat a block of code for each item in a sequence. A nested for loop is simply a loop inside another loop – useful when working with matrices, tables, patterns, or combinations. Simple idea: # For loop → one level of repetition # Nested for loop → multiple levels of repetition Example use cases: ✅ Iterating over lists ✅ Working with rows & columns ✅ Generating combinations ✅ Data processing tasks Small concepts, but very powerful when building real programs. Learning one step at a time 🚀 #Python #DataScience #LearningInPublic #Programming #100DaysOfCode #CareerSwitch
To view or add a comment, sign in
-
-
Hello Connections 👋 Today I spent time strengthening my Python fundamentals and explored some essential string-processing and basic logic concepts that are widely used in real-world applications. 🐍✨ Here’s what I learned today: 1️⃣ Remove duplicate characters from a string 2️⃣ Character frequency (counting how many times each character repeats) 3️⃣ Total character count 4️⃣ Word count 5️⃣ Sentence space count (number of spaces) 6️⃣ Combined program for character, word, and space counting 7️⃣ Vowels and consonants count Consistent practice of these basics helps build a strong foundation for problem-solving and logic building. 💡🚀 Looking forward to learning more and growing every day! #Python #LearningJourney #ProgrammingBasics #CodingPractice #SoftwareDevelopment #ContinuousLearning
To view or add a comment, sign in
-
Today I learned about different types of function arguments in Python 🐍 Function arguments control how data is passed into a function. Understanding them makes functions more flexible, reusable, and powerful. The main types are: 🔹 Positional arguments – passed in order 🔹 Default arguments – use a predefined value if not provided 🔹 Keyword arguments – passed using parameter names 🔹 Variable-length arguments – accept any number of values (*args, **kwargs) These small concepts help write cleaner APIs, reusable functions, and scalable code. Building my Python fundamentals one topic at a time 🚀 #Python #DataScience #LearningInPublic #Programming #100DaysOfCode #CareerSwitch
To view or add a comment, sign in
-
-
Python Foundations 2026 – Part 6 Real programs work with collections of data—and that’s where lists and strings come in. In Part 6 of our Python Foundations series, we cover: • What strings are and how to access characters • How lists store multiple values • Using indexing and len() effectively Mastering lists and strings unlocks real-world Python use cases. Python lessons → Wednesdays Other tech articles → Mondays Next up: Writing your own functions. Learn more: https://lnkd.in/emXWCQAg #Python #LearnToCode #Programming #BeginnersInTech #TechEducation #Python2026 #JMSM #KNKA
To view or add a comment, sign in
-
-
Strings are everywhere in Python - file names, user input, APIs, data cleaning, logs. If you work with Python, these 10 string methods aren’t optional — they’re daily tools. You’ll use them for: - cleaning extra spaces. - checking file extensions. - splitting and joining data. - finding and counting characters. These methods help you write cleaner, shorter, and more readable code. If you ever forget the syntax, this one image is enough to refresh your memory. 📌 Save it — future you will thank you. #Python #LearnPython #PythonTips #Programming #Coding #SoftwareEngineering #PythonDeveloper
To view or add a comment, sign in
-
-
📅 Day 7/30 – File Handling in Python Today I learned how Python works with files to store and manage data efficiently. Topics covered today: • File modes (r, w, a, x) • Reading files (read, readline, readlines) • Writing and appending data to files • Using with statement • Handling files with exception handling 📚 Learning resource used: • HackerBytez – https://lnkd.in/gzKTANVt Understanding how data is stored and handled in real-world applications 💪 Ready for Day 8 🚀 #Day7 #PythonChallenge #30DaysOfPython #FileHandling #Python #LearningInPublic #CodingJourney #ComputerScience #StudentLife
To view or add a comment, sign in
-
-
Continuing my Python learning journey, I’m sharing a notebook on Strings in Python, focusing on slicing, modifying, and commonly used string methods. This notebook covers: - String slicing and indexing - Modifying and formatting strings - Useful built-in string methods - Practical examples for better understanding Strings are everywhere — from data processing to user inputs — and mastering them makes coding more efficient and powerful. I’m attaching document for anyone who wants to explore or revise these concepts. Feedback and suggestions are always welcome. #Python #PythonLearning #CodingJourney #DataEngineering #Programming #LearnToCode #DeveloperJourney #athiyastudies
To view or add a comment, sign in
-
🚀 Feature Engineering Made Smarter with Python! 🧠🐍 Just read an excellent article on KDnuggets that every machine learning practitioner should check out! It shares 5 highly practical Python scripts that automate core feature engineering tasks and help you build better models faster. ✨ 🔹 What’s covered: ✔️ Smart encoding of categorical features ✔ Automatic transformations for numerical data ✔ Systematic generation of feature interactions ✔ Rich datetime feature extraction ✔ Automated feature selection to reduce noise and improve performance Whether you’re battling high-cardinality categories or trying to uncover powerful feature interactions — these scripts help streamline the process and save tons of manual effort. 💡 📈 If you’re working on machine learning models in Python, this is a must-read! Check it out and let me know which script you’ll try first! 👇 Source: KDnuggets https://search.app/wChSs #MachineLearning #Python #FeatureEngineering #DataScience #KDnuggets
To view or add a comment, sign in
-
I spent 2 hours on a loop. Python dictionaries can do it in one line. I was processing a list of data. I needed to group items by a key. I used a loop. It worked. But it was slow. Python dictionaries have a trick. Use a dictionary comprehension. It's fast and clean. 🚀 💡 Key Takeaway: Use dictionary comprehensions. They are fast and easy. 🐍 Have you used this trick? Share your story! 👇 #Programming #PythonProgramming #FastAPI #Backend #Python #Coding
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