Python Strings
string is a data type wich is used for sequence of characters/elements enclosed with‘’, “”, ‘“”’.
Creat: “123sjkfvew” it was string
Ex: “qwddug@2172 ”
Srting was consturcted in int or float or complex
str was shortcut from of string
Get RAGHU Vanaparthi’s stories in your inbox
Join Medium for free to get updates from this writer.
the importance of
- complex
- float
- int
why becuase there is no lose of data that will be the tacken int python aleardy inbulted
Example:
str(354) int value
str(374.8575) float value
str(374+384j) complex value
str(“hi”) it is a string
Str



