No prompt
# 문자열 정의
text = "hello, world!"
# upper() 함수를 사용하여 대문자로 변환
uppercase_text = text.upper()
# 결과 출력
print(uppercase_text) # 반환값: "HELLO, WORLD!"
# 문자열 정의
text = "HELLO, WORLD!"
# lower() 함수를 사용하여 소문자로 변환
lowercase_text = text.lower()
# 결과 출력
print(lowercase_text) # 반환값: "hello, world!"
다음 문자열을 대문자로 변환해 보세요: "python programming"
text = "python programming"
result = text.upper()
print(result) # 결과를 확인하세요.
다음 문자열을 소문자로 변환해 보세요: "WELCOME TO PYTHON"
text = "WELCOME TO PYTHON"
result = text.lower()
print(result) # 결과를 확인하세요.
