파이썬/exercise
1-1 Python Print/input Function
태지쌤
2022. 11. 30. 05:05
반응형
Printing to the Console
print('what to print')
print("what to print")
잘못된 코드를 수정해보자.
print(Day 1 - String Manipulation")
print("String Concatenation is done with the "+" sign.")
print('e.g. print("Hello " + "world")')
print(("New lines can be created with a backslash and n.")
print("Day 1 - String Manipulation")
print('String Concatenation is done with the "+" sign.')
print('e.g. print("Hello " + "world")')
print("New lines can be created with a backslash and n.")
이름을 입력받고 이름의 길이를 출력
print( len( input("What is your name? ") ) )
반응형