Python - String Manipulation

preview_player
Показать описание
Learn Python - Take our Python class for free! This python course for beginners consists of 10 classes, slowly and progressively introducing Python skills through explanations, example walk-throughs and code challenges. We know that the best way to learn Python is to start practising. In this fourth module we focus on learning the basic underpinning skills used throughout this course, string manipulation.

Topics:
1. New Lines
2. Escape Characters
3. Multiline String
4. Character Positions
5. Character Slicing
6. String Length
7. Modifying Strings
8. String Strip
9. String Replace
10. String Find
11. Count Substring
12. String Formatting
13. Code Challenges 1-6

00:00 Introduction

Code repository for this course:
Find all the code demonstrated, including code Challenges

Python Beginners Course Structure:
001 – Print, Variables and Simple Data Types
002 – Python Inputs
003 – If..elif..Else Statements
004 – String Manipulation
005 – Python Maths
006 – Random
007 – Tuples, Lists and Dictionaries
008 – For Loops
009 – While Loops
010 – Functions

🐱‍🏍Would you like to SUPPORT US FURTHER so that we can make even more great content - Please consider joining our members community.

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
Рекомендации по теме
Комментарии
Автор

Thank you My Zander, that was a great help. I really enjoyed it, funny enough!

elatreby
Автор

Around 12:30 there is some mistake, when u start counting from right we don't start from 0, instead we start from -1

RahulChauhanart
Автор

Thank you. Please make an advanced python tutorials for django developers (regex, decorators, etc.)

omarhasan
Автор

Code challenge 2 was quite hard, because forgot how to mask those strings, but came up with this solution:
phone = input('Please enter your phone number: ')
print(f'Your hidden phone number: ' + phone[-3:].rjust(len(phone), '*'))

ponasObuolys
Автор

x = ["Aarav", "Zander", "Kjetil"]
y = input("Enter Your name: ")

try:
x.index(y)
print('we have a match')
except ValueError:
print("No match was found")

creativecraft