λ°μν
π λ¬Έμμ΄ μμ
x = "Hello World!!"
# λ°κΎΈκ³ μΆμ κ², Aello World!!
x[0] = "A"
print(x[0])
x = "Hello World!!"
x = 'A' + x[1:]
x
π AttributeError
π python string methods documentation
→ https://docs.python.org/3/library/stdtypes.html#str
β python string method - upper()
β python string method - replace()
β python string method - split()
λ°μν
'Python' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
[Python] matplotlib, seaborn λ§λκ·Έλν 그리기 / κΎΈλ―ΈκΈ° (0) | 2023.04.17 |
---|---|
[Python] docstring (λ¬Έμν / μ¬μ©μ μ μ ν¨μ ) (0) | 2023.04.13 |
[Python] Pandas Data Analysis (0) | 2023.04.13 |
[Python] κΈ°μ΄λ¬Έλ² _ Sequence Type (List, Tuple, Dictionary) (3) | 2023.04.12 |
[Python] Comprehension (List, Dictionary, Tuple) (0) | 2023.04.12 |