description Problem history Submissions question_mark Qna how_to_vote Vote #9395 upload 699 done 451 how_to_reg 398 code Language restricted 문자열 - 연습문제 9 timer 1s memory 32MB Problems text_fields 문자열 A와 B를 입력받고, A를 세 번 연속하여 붙였을 때, B가 해당 문자열에 속하는지 알아보고, 만약 있다면 A와 B를 붙여 출력하고, 아니라면 B를 두 번 연속하여 붙여 출력하는 프로그램을 작성하시오. Example login Input banaspace_bar nabanaba content_copy logout Output bananabanaba content_copy Source 자기주도 파이썬 4판 Backlinks Official problem sets only
Problems text_fields 문자열 A와 B를 입력받고, A를 세 번 연속하여 붙였을 때, B가 해당 문자열에 속하는지 알아보고, 만약 있다면 A와 B를 붙여 출력하고, 아니라면 B를 두 번 연속하여 붙여 출력하는 프로그램을 작성하시오. Example login Input banaspace_bar nabanaba content_copy logout Output bananabanaba content_copy Source 자기주도 파이썬 4판 Backlinks Official problem sets only