Python String Slicing | Fun with Strings | Not Cake Slicing

preview_player
Показать описание
Python String Slicing:
What do you mean by Python String Slicing ?
Why String Slicing is used?
Why it is needed?
How to Slice Strings in Python ?
Syntax:
slice(stop)
slice(start, stop, step)
Parameters:
start: Starting index where the slicing of object starts.
stop: Ending index where the slicing of object stops.
step: It is an optional argument that determines the increment between each index for slicing.

Return Type: Returns a sliced object containing elements in the given range only.

I'm using Pycharm to type and execute the programs you can also use Python IDLE that comes along when you download the Python.

Do LIKE, SHARE and SUBSCRIBE 🔔
Syntax Error Pratiksha Jain
STAY TUNED
---------------------------------------------------------------

---------------------------------------------------------------
Disclaimer - Only for educational purpose
#python #syntaxerror #paidpromotionyoutubechannel #stringdatatypes #introductiontopython #pythonstrings #pycharm
Рекомендации по теме
Комментарии
Автор

Hello Pratiksha Jain,
I have a small no.of suggestion
1. don't jump into any code editor process.
2. Make ppt slides and for explanation and then go for code (easy for understanding).
3. It will also make you comfortable for understanding and recording as well.

yeshjadhav