Professional Documents
Culture Documents
Strings and Tuples
Strings and Tuples
Strings and Tuples
----------------------------------------------------------------------------------------------------------------
Manam list lo chusinatte string lo kuda elements 0 nunchi start avutai...same alaage
negative index kuda work avutundhi.
String lo yedaina element ni access cheyaali ante daani index ni use chesi chestam
additional ga manam oka particular element ni modify cheyacchu.
---------------------------------------------------------------------------------------------------------------
“Tuple” is also a sequential data type which is very similar to list but tuple is
“IMMUTABLE”
Ante oka tuple ni create chesina tarwata we cannot make any modifications to
a tuple except reading the contents of a tuple.
--------------------------------------------------------------------------------------------------------------
“Tuple” indexing ni brackets ( ) tho define chestaam dentlo a data types ina store
cheyacchu but once create chesaaka manam modify cheyalem.
Name of the tuple[start : end] idhi starting nunchi end-1 varaku unna elements
annitini separate chestundhi.
----------------------------------------------------------------------------------------------------------------
Asalu yelaanti updations possible avvani oka data type yenduku undha ani doubt
ravacchu.
Real time applications lo manaku teliyakunda manam data sets meedha write
operations perform chestam.
Alantivi avoid cheyadaniki tuple use avutundi
----------------------------------------------------------------------------------------------------------------
Alaage permissions ni manage cheyadaniki e tuples chaala baaga use avutaai.
Because manam okariki oka tuple data ni maatrame icchi daani meedhane
operations perform cheyamante they cannot perform other operations other than
reading it.