개요
- Python upper()
- 파이썬 upper()
s = "Hello World!"
print( s.upper() )
s = "HELLO World"
print( s.upper() ) # HELLO WORLD
print( s ) # HELLO World
- → 원본에는 변화가 없다.
같이 보기
참고
- https://www.geeksforgeeks.org/python-string-upper/
- https://www.tutorialspoint.com/python/string_upper.htm
- https://www.w3schools.com/python/ref_string_upper.asp
- https://www.programiz.com/python-programming/methods/string/upper
- https://www.geeksforgeeks.org/isupper-islower-lower-upper-python-applications/