String functions in Python: 1)isalnum()-to check whether all the characters of a given string are alphanumeric or not. 2)capitalize() -to change the first character of the string to uppercase if it’s lowercase. 3)find() -to search for a substring in a string. 4)count()- to return the count of occurrences of a substring in a string object. 5)center()- to align a string in the center. #HaveANiceDay #DataAnalytics #PythonBasics
Thameema M Shukkoor’s Post
More Relevant Posts
-
Commands in Python: 1)print- to print a message 2)type- to check the type or class of an object. 3)range- to generate a sequence of integers starting from 0 by default to n where n is not included in the generated numbers. 4)round- to round a number to a given precision in decimal digits. 5)input- to take input from the user. #HaveANiceDay #DataAnalytics #PythonBasics
To view or add a comment, sign in
-
Day 70 of #100DaysOfCode 🐍 Today, I learnt about Dictionaries in Python — one of the most powerful data structures for storing and managing key–value pairs. 💡 Key takeaways: ✅ How to create, access, and modify dictionaries ✅ How to loop through keys and values ✅ Using methods like .items(), .keys(), and .values() ✅ Why dictionaries are great for organizing real-world data Understanding dictionaries really deepened my confidence in handling structured data efficiently. Python just keeps getting more interesting! 🧠✨ #100DaysOfCode #Python #CodingJourney #LearningInPublic #DataStructures
To view or add a comment, sign in
-
-
🐍 Day 1/30 — Print Statement in Python Today, I learned one of the most basic and essential concepts in Python how to display output using the print() function. It’s used to show messages, numbers, or results on the screen. 👇 print("Hello, Python!") Output: Hello, Python! 🧠 Tip: Always write text (strings) inside quotes " " or ' '. You can also print numbers or multiple values together, like this: print("Sum:", 5 + 3) #Python #LearnPython #PythonBasics #Scaler #CodingJourney #PythonForBeginners #30DaysOfCode #30DaysOfPythonjourney!
To view or add a comment, sign in
-
-
Ever wondered why Python dictionaries are called "unordered"? 🤔 Here’s a fun visual! 🎨 A dictionary doesn’t store data in a fixed order — it uses a hash table to place each key–value pair in memory for faster lookups. That’s why when you search for a value using a key, Python can find it in an instant ⚡ #Python #DataStructures #LearningWithFun #Dictionary #HashTable #CodingMadeSimple
To view or add a comment, sign in
-
-
Commands in Python: 1)len- to get the number of items in an object. 2)for loop- to execute a set of statements by iterating over a sequence. 3)while loop- to execute a set of statements as long as the given condition is true. 4)String-used on string objects. 5)List- used to store multiple elements in a single object. #HaveANiceDay #DataAnalytics #PythonBasics
To view or add a comment, sign in
-
This blog post contains a few different tips on making nice line charts in python. https://lnkd.in/eX5baJf8 Two things I like to do: - superimpose points on top of the lines (makes it easier to identify specific time points) - draw some lines as lighter grey, so they fade into the background (and highlight only one or two lines)
To view or add a comment, sign in
-
-
Python Built-in Functions: The Tools You’re Probably Underrating Here’s the thing about Python — before you install your next library, it’s worth checking what’s already built in. The interpreter ships with a long list of functions that quietly handle everything from data conversion to object inspection. No imports. No setup. Just pure Python. #Python #DataScience #DataAnalytics #MachineLearning #AI #BigData
To view or add a comment, sign in
-
-
🚀 Small Code, Big Lesson! Today, I worked on a simple Python script that removes all the special characters from any string. It might sound basic, but these kinds of mini-projects help me understand how data cleaning and string manipulation work behind the scenes. Every small project is another step toward mastering Python and building real-world problem-solving skills. Here’s a quick look at how it works 👇 #Python #CodingJourney #LearningInPublic #100DaysOfCode #DataCleaning #TextProcessing #CleanCode #journeytoML
To view or add a comment, sign in
-
🚀 Recursion in Python Ever thought of a function calling another function inside itself? That’s nested recursion, and I just experimented with it! ✨ What I built: outer() scans a list for integers inner() recursively reverses each number 💡 Key takeaways: 1️⃣ Recursion becomes simple when broken into steps 2️⃣ Nested functions turn messy logic into clean code 3️⃣ Python makes elegant solutions effortless Sometimes, a small experiment teaches the biggest lessons in coding! 💻💡 #Python #Recursion #CodingTips #DevJourney #TechFun #ProblemSolving
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