Python_Matter/[CodeUp]입출력문 및 연산자
1132 : 문자열 출력하기
AnKiWoong
2019. 10. 30. 09:10
반응형
Q>
한 단어를 입력받아 출력한다.
입력
한 단어가 입력으로 주어진다.(단어 길이는 8글자 이하)
출력
입력받은 단어를 그대로 출력한다.
A>
s = int(input())
if s <= 8:
print(s)
else:
pass
W>
if ~ else문
#>
admin, 2019년 10월 30일, http://codeup.kr
반응형