Python Flashcards

1
Q

array length

A

print(len(numbers))

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

arrayi ayırıp birleştirme

A

L=list(S)
‘‘.join(L)

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

stringde bir şeyin nerede olduğunu bulma

A

F=S.find(“mak”)
returns number

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

yerine koyma

A

R=S.replace(‘mayın’,’mak’)

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

bir referansa göre ayırma

A

SP=S.split(‘,’)

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