[기초]데이터를 받아오는 방법

데이터를 받아오는 것은 input() 명령한다. input은 한줄에 데이터를 모두 받아오는 거다. 1.한 줄에 한게의 데이터 있을때 (1) sting데이터 타입이면 그냥 input() (2)int 데이터 타입이면 int(input()) 2.한 줄에 여러 개의 테이터가

2023년 6월 11일
·
0개의 댓글
·
post-thumbnail

[BOJ 9086]string

problem Write a program that prints the first and last letters of a string given a string as input.

2023년 6월 4일
·
0개의 댓글
·