https://www.acmicpc.net/problem/2743
2743번: 단어 길이 재기
알파벳으로만 이루어진 단어를 입력받아, 그 길이를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
word = input()
len(word)
이렇게 하니까 틀리고
word = input()
print(len(word))
이렇게 하니까 맞네요
무슨 차이가 있을까요
#9. 백준 11654번 (python) (0) | 2024.03.01 |
---|---|
#8. 백준 9086번 (python) (0) | 2024.03.01 |
#6. 백준 27866 (python) (1) | 2024.03.01 |
#5. 백준 1546번 (python) (0) | 2024.03.01 |
#4. 백준 10811번 (python) (6) | 2024.02.29 |