Python Programming Fundamentals | Python Strings

Pubblicato il: 27 settembre 2024
sul canale di: Dan Kornas
1,201
22

🎓 Unlock personalized mentorship, early access to exclusive AI resources, and join a supportive learning community—sign up now for the AI Learning Membership at https://ailearninghub.io

-------------------------
In this video, you’ll learn how to work with strings in Python—including creating strings using single, double, and triple quotes, understanding escape sequences, concatenating strings, accessing individual characters, slicing strings, replacing characters, checking substring existence, and utilizing various string methods like isalpha(), isnumeric(), isalnum(), strip(), join(), split(), and f-strings for formatting.

To start learning without installing Python locally, use Google Colab.
Introduction to Google Colab:    • Google Colab Basics  
Create a new Google Colab Notebook: https://colab.research.google.com/#cr...
Github Code: https://github.com/dankornas/ai-roadm...

TABLE OF CONTENTS

0:00 Introduction to Python Strings
0:09 Creating Strings with Single, Double, and Triple Quotes
1:21 Combining Strings Using the ‘+’ Operator
2:22 Checking Length of a String with len()
3:22 Accessing Individual Characters in a String
5:05 Slicing Strings to Get Substrings
5:58 Replacing Characters in a String
7:05 Checking if a Substring Exists within a String
8:35 Finding the Index of a Substring
9:57 String Methods: isalpha(), isnumeric(), isalnum()
11:20 Removing Spaces with strip(), lstrip(), rstrip()
12:03 Joining a List of Strings into a Single String with join()
13:05 Splitting a String into a List with split()
13:55 Using f-Strings for String Formatting
15:05 Changing String Case with lower() and upper()
15:52 AI Learning Hub Membership

-------------------------

Social channels:
🐦Twitter:   / dankornas  
🌍LinkedIn:   / daniel-kornas  
🕵Facebook:   / dankornas  
📱Instagram:   / dankornas  
🧵 Threads: https://www.threads.net/@dankornas

-------------------------

📚 AI Books 📚
Introduction to Generative AI 👉 https://shorturl.at/3dSQz

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.


In questa pagina del sito puoi guardare il video online Python Programming Fundamentals | Python Strings della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Dan Kornas 27 settembre 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,201 volte e gli è piaciuto 22 spettatori. Buona visione!