Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

immutability in python

//strings are immutable in python but arrays are mutable
s="sksks"
s[0]="x"
// compilation error as can't assign
Comment

PREVIOUS NEXT
Code Example
Python :: tanh activation function 
Python :: windows task scheduler python script 
Python :: stop for loop python 
Python :: possible substrings of a string python 
Python :: all string methods in python 
Python :: python print new line 
Python :: python online 
Python :: python iterator 
Python :: spark mllib tutorial 
Python :: NaN stand for python 
Python :: python logical operators code 
Python :: how to use python all() function to check a list is empty or not 
Python :: for _ in range() in python 
Python :: csv to excel python 
Python :: python string replace method 
Python :: range 
Python :: tuples vs list 
Python :: django form date picker 
Python :: python modules list 
Python :: Interfaces 
Python :: what are for loops 
Python :: Reset Index & Retain Old Index as Column in pandas 
Python :: python mark function as no return 
Python :: Print only small Latin letters a found in the given string. 
Python :: how to plot quantity of each value of a feature in python 
Python :: transpose([[1],[2],[3]]) 
Python :: Factory reset the filesystem micropython 
Python :: tz convert python 
Python :: full_pickle 
Python :: python monats liste 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =