35. Immutability Flashcards

1
Q

Immutability?

A

not change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how can you add to list if unchangeable?

A

selfish = 12345
selfish selfish +5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are some type of built in functions

A

.Upper –> makes most words after upper case
.Capitalize (exaplianable
.lower

.find(finds first occurence)
.replace(replaces occurrence of something)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly