Python 05 Data Types in Python | Sequence type - String

Published: 06 January 2023
on channel: Himanshu Kaushik | DigiiMento GATE, NET, CSE Prep
440
5

In Python, the sequence is the ordered collection of similar or different data types. Sequences allow to store of multiple values in an organized and efficient fashion. There are several sequence types in Python –

1. String
2. List
3. Tuple

String
A string is a collection of one or more characters put in a single quote, double-quote or triple-quote. In python, there is no character data type;

A character is a string of length one. An str class represents it. In Python, Strings are arrays of bytes representing Unicode characters.


On this page of the site you can watch the video online Python 05 Data Types in Python | Sequence type - String with a duration of hours minute second in good quality, which was uploaded by the user Himanshu Kaushik | DigiiMento GATE, NET, CSE Prep 06 January 2023, share the link with friends and acquaintances, this video has already been watched 440 times on youtube and it was liked by 5 viewers. Enjoy your viewing!