upper() 메서드는 모든 문자가 대문자인 문자열을 반환합니다. 기호와 숫자는 무시됩니다.
매개변수는 없습니다.
모든 문자가 대문자인 문자열을 반환합니다.
txt = "Hello my friends" x = txt.upper() print(x)
결과
HELLO MY FRIENDS
13 Pytube 쓸 때 pytube.exceptions.RegexMatchError: get_throttling_function_name: could not find match for multiple 에러 해결방법
13 python에서 에러가 생겨도 계속 실행하는 방법
14 파이썬에서 파일 다운로드 하는 방법
14 에러가 있는데 Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings'
17 파이썬에서 The driver cannot recognize the specified command parameter 에러 해결방법
© 2022 pinfo. All rights reserved.